Multiple simulations

Hi i make simulation of object move.
But i want each sim have different name, and all simulation's viewed at end and each simulation has different directory what is the best way ?

when i used s4l.document.New()
at start of each simulation and different directory every simulation saved in new directory but at end seen only last simulations and each directory has its own .smash file
but when i used at beginning of code happens that each directory created has more and more files ... , even i seen more simulations at result of Simulation.

Hi Michael,

I think you are talking about project files (.smash), and not about simulations.

One project file can have multiple simulations in it.

Your solution can be to use s4l_v1.document.SaveAs( "FileName" ). This will change the name of the current file from default to something you choose.