Try this: O.pause() O.wait() O.engines.append(PeriodicPythonRunner(iterPeriod=20,command='plotFunction()')) O.run()
2010/6/30 boon chiaweng <[email protected]> > > Hi, > > I would like to add an engine after the Scene is created: > > p=TriaxialTest() > p.density=3600 > p.dampingMomentum =0.5 > etc etc. > p.load() > > O.engines.append(PeriodicPythonRunner(iterPeriod=20,command='plotFunction()')) > > This doesn't work. I would like to maintain the use of the C > preprocessor, although I know I can generate triaxial entirely using python. > > > Yours, > > Boon > > > > _________________________________________________________________ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. > https://signup.live.com/signup.aspx?id=60969 > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

