Question #705005 on Yade changed: https://answers.launchpad.net/yade/+question/705005
Jan Stránský proposed the following answer: Do not use O.wait() and O.run() inside PyRunner command. While PyRunner command is executed, the simulation is "paused" (contrary to the code in OP). ### O.engines = [ ... NewtonIntegrator(), PyRunner(command='deletParticle()', firstIterRun=200), ] ### Cheers Jan -- 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