← Back to team overview

yade-users team mailing list archive

Re: Updating Engines in Python

 

Thanks for your answers
I'll try that!

Cheers

Benoit

Václav Šmilauer a écrit :
    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



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp



References