question

Mehdi K2 avatar image
0 Likes"
Mehdi K2 asked Roi Sánchez answered

check if control point allocated

hi,

how can check if control point allocated by object in process flow command ?

Thanks in advanced,

FlexSim 19.0.0
flexsim 19.0.0control point allocated
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

·
Roi Sánchez avatar image
1 Like"
Roi Sánchez answered

Hi @Mehdi K2, if you locate your Control point node in the Tree, you can access to the allocations subnode and check if it is allocated or not by simply typing this:

Model.find("ControlPoint1>variables/allocations").subnodes.length;

This will return the number of current allocations that the Control Point has.


1614083077763.png (10.6 KiB)
5 |100000

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

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.