← Back to team overview

yade-users team mailing list archive

Updating Engines in Python

 

Hi

I have some problems while updating my engines during a simulation with python.

For example I declare in the beginning:
O.engines=[
...
GravityEngine(gravity=(0,0,-9.81))
...
]

then i later want to update the gravity during the simulation, for example
gravity=(0,0,-9810)

How should I do that?

Thanks

Benoit



Follow ups