> I do not succeed, once I defined O.engines=[...], to add other Engines 
> with O.engines.append
> Could it be possible or not ?

you have to say

        O.engines=O.engines+[YourEngine()]

(reason: O.engines is a std::vector in c++ and list in python, which is
converted back and forth (r-value, if you want); it is not a wrapped
type as e.g. BodyContainer, which can define additional methods)

Cheers, v.



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to