Question #657560 on Yade changed: https://answers.launchpad.net/yade/+question/657560
Jan Stránský proposed the following answer: Once again, take care of errors :-) I got: TypeError ... ---> 14 Dz=hammer.state.displ[2] should be Dz=hammer.state.displ()[2] # state.displ() is a fanction, therefore called by (), than you can extract z component by [2] cheers Jan -- You received this question notification because your team yade-users 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

