Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 20.0.0 ]
I would like to get the reset position for an object using code, but I don't see a "getresetposition" command. Is there a shorter (and/or more elegant) way to do this than the following code?
[getvarnode(Model.find("Object1"), "resetposition").subnodes[1].value, getvarnode(Model.find("Object1"), "resetposition").subnodes[2].value, getvarnode(Model.find("Object1"), "resetposition").subnodes[3].value]
Thanks in advance for any assistance you can provide.
Solved! Go to Solution.