Question #707350 on Yade changed: https://answers.launchpad.net/yade/+question/707350
Status: Open => Answered Jan Stránský proposed the following answer: Hello, you can use approach similar to [1], i.e. ### while True: O.run(N,True) if stopCondition(): break ### Cheers Jan [1] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/triax- tutorial/script-session1.py -- 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