Saving Simulation State?
Hello All,
I am planning to create a script for generating reports which can help debug the save as xml features for saving the simulation state in breve.
Unfortunately, after reading some documentation (http://www.spiderland.org/node/2752), I am unclear as to how to direct the command line version of breve to archive the simulation state after some time of running. I'm guessing that my confusion lies in, what is a control method, and how to I activate one? I see that there are command line options for dearchiving a simulation (-a [xml file]) but I do not see an equivalent means of archiving a simulation. I am going to start my testing with the Mac OS X platform.
Can anyone help?
Thanks,
benford

To save the entire
To save the entire simulation state as XML, do:
controller save-as-xml file "simulation.xml"
To save a single object as XML do:
theObject archive-as-xml file "object.xml"
- jon