← Back to team overview

yade-users team mailing list archive

Re: [Question #693670]: how to fix pfacets

 

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.