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