← Back to team overview

yade-users team mailing list archive

Adding engines from python after scene is created

 

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


Follow ups