Question #693670 on Yade changed:
https://answers.launchpad.net/yade/+question/693670
Status: Open => Answered
Jan Stránský proposed the following answer:
this?
###
for i in O.bodies:
if isinstance(i.shape,Sphere):
i.state.blockedDOFs="yXZ"
if isinstance(i.shape,GridNode):
i.state.blockedDOFs="xyzXYZ" # HERE!
###
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