Question #681160 on Yade changed:
https://answers.launchpad.net/yade/+question/681160
Status: Open => Answered
Jan Stránský proposed the following answer:
> b.state.refPos= b.state.pos # to change the refPos of spheres from
particle generation stage to current position of consolidation stage
is this the actual code? if so, it just modifies refPos of "b", one body I
guess. Try:
###
for b in O.bodies:
b.state.refPos = b.state.pos
###
cheers
Jan
--
You received this question notification because your team yade-users 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