yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #19098
Re: [Question #678783]: saveDataTxt repeatedly in one simulation
Question #678783 on Yade changed:
https://answers.launchpad.net/yade/+question/678783
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi James,
just define the function to export according to your today's mood
Jan
### script 1
...
O.engines = [
...
PyRunner(command="exporter()",...)
]
def exporter():
pass # empty in the first script
...
O.save(...)
###
### script 2
...
O.load(...)
def exporter():
... # whatever you want to export today
...
###
--
You received this question notification because your team yade-users is
an answer contact for Yade.