Regular API function

simSaveScene / sim.saveScene

Description Saves a scene. Any existing file with same name will be overwritten. See also sim.loadScene, simCloseScene, and sim.saveModel.
C synopsis simInt simSaveScene(const simChar* filename)
C parameters
filename: scene filename. The filename extension is required (ttt, or simscene.xml)
C return value
-1 if operation was not successful
Lua synopsis sim.saveScene(string filename)
Lua parameters
Similar to the C-function counterpart
Lua return values