question

Devdatta D avatar image
0 Likes"
Devdatta D asked Matthew Gillespie answered

How do i access dist along property for decision point on conveyor?

1675793371598.png

I have all the conveyor points, I want to search for the decision point and then get the dist along.

I can find the dp but cannot get the dist along

1675793448028.png

FlexSim 22.2.4
decision pointsconveyorsystemflexscrip
1675793371598.png (197.8 KiB)
1675793448028.png (33.1 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.

1 Answer

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Use the DistAlongConveyor property:

Object dp = Model.find("DP1");
return dp.getProperty("DistAlongConveyor");
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.