yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17391
Re: [Question #665314]: save/load precedure
Question #665314 on Yade changed:
https://answers.launchpad.net/yade/+question/665314
Luc Scholtès posted a new comment:
Try to redefine the functions and global variables (copy/paste from
initial script) into your new simulation before calling O.run().
I usually create a new python script when I want to load a previous
simulation which include
O.load('nameOfSimulation')
and the custom functions
def customFunction():
do this and that
Then, you should be able to call for
O.run()
directly in it.
Luc
--
You received this question notification because your team yade-users is
an answer contact for Yade.