question

lancewu avatar image
0 Likes"
lancewu asked Arun Kr answered

How to use the group method in DLL to avoid errors?

When I was creating a DLL in C++language, I found that there was no usage of group in the DLL, only "familymemberadd", "familydeelete", and so on. I guess in the DLL, is there only a famliy method without a group method?

When I use Famliy, it will produce the following effects and affect my use of the dashboard.


屏幕截图-2024-03-29-082521.pngWhen I use the dashboard to analyze this group, I get an error message:

exception: FlexScript exception: VIEW:/active/QuickerProperties1942701176/Properties/ToolPanel/DashboardOptions/DashboardOptions/StateGanttOptions/EditStateProfile>eventfunctions/coldlinkx c: VIEW:/active/QuickerProperties1942701176/Properties/ToolPanel/DashboardOptions/DashboardOptions/StateGanttOptions/EditStateProfile

I need to use the group method in the DLL. Is there a solution?
DLL maker is the 2013 version
Thank you for your review。

FlexSim 22.0.16
dll makerdll c++
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Arun Kr avatar image
0 Likes"
Arun Kr answered

As mentioned in this post, you may have to use nodefunction() command to add members into a group or remove remembers from DLL.

treenode Node = node("MAIN:/project/exec/commandlist/groupaddmember/1");
string GpName = "Group1";
treenode Queue = model()->find("Queue1")
nodefunction(Node, GpName, Queue); // Add Queue to the group
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

lancewu avatar image lancewu commented ·
thank u!


it works!!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.