Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 20.1.3 ]
Hello, I want to destroy all the agv in the model before I start the simulation. So, at OnModelReset, I wrote a code such as below referring to the reference, but can not seem to get it right. What am I missing?
forobjecttreeunder(model( { Object a; if(classobject(a) == library().find("?TaskExecuter")) { a.destory(); } }
Thank you in advance
Solved! Go to Solution.