← Back to team overview

yade-users team mailing list archive

Re: [Question #692568]: Changing joint frictional properties for specific bodies later

 

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

Wang Benxin posted a new comment:
Hi Jan,

I encountered a similar problem. When I change the material for some
existing bodies using the following code, the simulation cannot go
through. It note that 'python argument types in None.None(Body,
function)'. There is an error with the b.material= newMat. Could you
please tell me how can I deal with it?

for b in bodiesToBeUpdated:
   b.material = newMat

Best regards,
Benxin

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