← Back to team overview

yade-users team mailing list archive

Re: Adding engines from python after scene is created

 

Excuse me for wrong advice. I was just thinking, that the problem is in
not-stopping the simulation during adding/deleting engines. I met this
problem recently.
Will try to be more accurate next time.


2010/6/30 Václav Šmilauer <eudoxos@xxxxxxxx>

> Anton, sorry, but at least try things first, this definitely does not
> work... v
> > Try this:
> >
> > O.pause()
> > O.wait()
> >
> O.engines.append(PeriodicPythonRunner(iterPeriod=20,command='plotFunction()'))
> > O.run()
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References