Question #155490 on Yade changed:
https://answers.launchpad.net/yade/+question/155490
Status: Open => Answered
Chareyre proposed the following answer:
"Vector3r pos" is a registered attribute. "Real pos[1]" (or whatever) is
not.
I guess per-component definition could be enabled in python wrapping of
eigen, but nobody expected such usage.
You can always type :
O.bodies[0].state.pos=Vector3(O.bodies[0].state.pos[0],XXX,O.bodies[0].state.pos[2])
B
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp