Question #215627 on Yade changed:
https://answers.launchpad.net/yade/+question/215627
m.asd posted a new comment:
hi,
thank you Jan and Anton for your replies
when I change ids=plate to ids=[plate.id] it leads in the following error
62 global plate
63 plate=O.bodies[-1]
---> 64
O.engines=O.engines[:4]+[TranslationEngine(ids=[plate.id],translationAxis=(0,0,1),velocity=0.002,label="transEngine")]+O.engines[4:]
65 checker.command='shearing()'
66 O.materials[0].frictionAngle=.5
AttributeError: 'NoneType' object has no attribute 'id'
It seems that I am facing the bug LP:1056684 because before adding the plate,
I delete some bodies , I am using Ubuntu 12.04
how can I fix it?
cheers,
mozhgan
--
You received this question notification because you are a member of
yade-users, which 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