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

Jérôme Duriez proposed the following answer:
Thanks for the clarification, this kind of error essentially means
you're calling an addPlotData function which is not known, i.e. defined,
at the time you call it. (it is not really YADE-specific, that's a
normal behavior for a computer)


Indeed, the definition of addPlotData() here comes at the end of your script, 
after the first O.run() commands, hence after the first calls to addPlotData().


You have to move the definition of addPlotData() at a suitable place, ie before 
any O.run (before that the PyRunner calling addPlotData could be executed, 
strictly speaking)


Jérôme

-- 
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

Reply via email to