← Back to team overview

yade-users team mailing list archive

Re: [Question #695192]: wall.append(O.bodies.append(pfacet) in triaxial test

 

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

Hanying Zhang gave more information on the question:
And the error says:

  File "1-28.py", line 124, in <module>
    ab= O.bodies.append(gridConnection(aa,bb,RNode,wire=True,material='gridNodeMat'))
  File "/usr/lib/x86_64-linux-gnu/yade/py/yade/gridpfacet.py", line 109, in gridConnection
    sph1=O.bodies[id1] ; sph2=O.bodies[id2]
ArgumentError: Python argument types in
    BodyContainer.__getitem__(BodyContainer, NoneType)
did not match C++ signature:
    __getitem__(pyBodyContainer {lvalue}, int)

Thanks!

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