question

Pinakin K avatar image
0 Likes"
Pinakin K asked Pinakin K edited

is there a way to get the conveyor reference from the Dp using code?

I want to get the conveyor object, based on the Dp it has so i can send the object based on the conveyor's content

FlexSim 20.2.3
flexsim 20.2.3conveyor dp
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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Pinakin K edited

Here's an example :

Object dp=Model.find("DP18");
Object dpconveyor= dp.find(">variables/conveyorPoint/1+/~");
· 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.

Pinakin K avatar image Pinakin K commented ·

It works thanks!

0 Likes 0 ·