yade-users team mailing list archive
Mailing list archive
Re: [Question #678668]: O.load Error
Question #678668 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
this is a "classical" problem with O.save / O.load. You define a python function as triax.doneHook. The name of the function is saved and loaded. However, it is not defined in the second script, so when it is about to be called, it results in this error.
Either define the function in the second script or change the doneHook
please provide a WORKING example. I got "NameError: name 'num' is not
You received this question notification because your team yade-users is
an answer contact for Yade.