Something about module sdk and dll

Something about module sdk and dll

94013_6912l
Contributor Contributor
393 Views
6 Replies
Message 1 of 7

Something about module sdk and dll

94013_6912l
Contributor
Contributor

[ FlexSim 20.0.10 ]

I'm doing the module sdk and dll through the user manual. But I'm confused with some step.

Below is where I am now. I don't know how to do this part. I even can't find out how to clear object's variables sub-tree.... Can somebody give me some hints. I'm in a hurry. Much thanks.

1634701631666.png

0 Likes
Accepted solutions (1)
394 Views
6 Replies
Replies (6)
Message 2 of 7

moehlmann_fe
Advocate
Advocate
Accepted solution

I haven't worked with the module SDK before but I can hopefully help you with those steps.

The library is located in the "Main" tree. You can insert new nodes into the tree by right clicking on an existing node and (under "Node") choosing "Insert After" (inserts a new node at the same relative level, directly after the selected one - shortcut "Spacebar") or "Insert Into" (creates a new subnode in the selected node - shortcut "Enter").

I believe "clearing" means to simply delete all subnodes inside the "variables" and "behaviour" nodes. Mark all subnodes by holding "Shift" and dragging the selection box across, then hit "Delete/Del".

1634712715947.gif

0 Likes
Message 3 of 7

philboboADSK
Autodesk
Autodesk


Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 4 of 7

94013_6912l
Contributor
Contributor

Thanks, it's truly help.

By the way, do you know how to do step 7-step 8. I try to change, but when I shut down the window, it become to it's original setting. I just delete it and add a same variables by myself. But, their is a compiler console in the first picture. Last question, why the words of initial settings is purple?

1634779403560.png1634779421474.png

0 Likes
Message 5 of 7

94013_6912l
Contributor
Contributor
Okay, thank you very much!!!
0 Likes
Message 6 of 7

moehlmann_fe
Advocate
Advocate

The purple text signifies that the node stores "Coupling Data" (a link to a different node). You can change the datatype of nodes in the right-click menu. I believe the error message is caused by the new node not being of that type.

1634791609230.png

To change a node's value without it reverting to the original value, you should be able to use the sampler tool that appears in the properties when a node is selected.

1634791584628.png

0 Likes
Message 7 of 7

94013_6912l
Contributor
Contributor

Got it. Thanks very much!!!

0 Likes