Question #704311 on Yade changed: https://answers.launchpad.net/yade/+question/704311
Jan Stránský proposed the following answer: > O.run(100) > O.engines=O.engines+[PyRunner(command='addData()', iterPeriod=100)] > O.run(100) > O.save("c1.yade") Use O.run(100,True), or more verbose O.run(100,wait=True). See [2]. Then the run command wait until 100 steps are finished (probably meant like that). If I used it this way, the labels worked. I have no idea why without wait=True it does not work.. You can also use the other approaches mentioned in my first answer: - instance appraoch: ak=RotationEngine(...) - index approach: ak=O.engines[index] Cheers Jan [2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Omega.run -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp