Question #707350 on Yade changed:
https://answers.launchpad.net/yade/+question/707350
Jan Stránský posted a new comment:
dark Yade windows (GUI, plot, 3D view) is the result of
O.run(...,wait=True), when all python Yade (including the windows) waits
for C++ part to be finished.
You can try to put the condition in a PyRunner, something like (not tested):
###
O.engines = [
...
PyRunner(iterPeriod=N,command="check()"),
]
def check():
if stopCondition():
O.pause()
###
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp