Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866
Jan Stránský proposed the following answer: Hello, writing the code to a script [1] and running it by yade nameOfTheScript.py should solve it [2] Alternatively you can use a (not preferable) workaround with globals() [3] or __builtin__ [4]. cheers Jan [1] https://yade-dem.org/doc/tutorial-hands-on.html#starting-yade [2] https://answers.launchpad.net/yade/+question/293179 [3] https://answers.launchpad.net/yade/+question/239546 [4] https://answers.launchpad.net/yade/+question/260135 -- 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

