question

Andy_zp avatar image
0 Likes"
Andy_zp asked Jason Lightfoot edited

Use the script to get the information in the tree node

屏幕截图-2023-08-14-133913.pngHow can I use a script to get the coordinates of a route's start and end points from its name

FlexSim 22.2.0
agv pathflexsim script
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
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Read the documentation - you'll find the properties of the AGV path listed here, and they can be accessed using the getProperty() method - so:

myPath.getProperty("StartLocation")
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.