← Back to team overview

yade-users team mailing list archive

Re: Updating Engines in Python

 

>     GE = o.labeledEngine('GravityEngine') (check the name of the class
> maybe in YADE_CLASS_BASE... of the .hpp)

(If the engine is labeled, it should be accessible automatically)

> Then you should have the possibility to modifiy easily the value of
> one of his attribute, with :

>     GE['gravity"]=...

GE.gravity is "better" in the sense that GE['gravity'] will be removed
at some point in the future (I just added warning about that syntax to
code).

Cheers, Vaclav





Follow ups

References