← Back to team overview

yade-users team mailing list archive

Re: [Question #659211]: Fixing spheres

 

Question #659211 on Yade changed:
https://answers.launchpad.net/yade/+question/659211

mohsen posted a new comment:
Oh! It is now working!

the right command was:
for b in O.bodies:
    if isinstance(b.shape,Clump):
        b.state.blockedDOFs='xyzXYZ'
        b.vel=(0,0,0);b.angVel=(0,0,0)

Thanks Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.