Regular API function

simSaveScene

Description Saves a scene. Any existing file with same name will be overwritten. See also simLoadScene, simCloseScene, and simSaveModel.
C synopsis simInt simSaveScene(const simChar* filename)
C parameters
filename: scene filename. The filename extension is required ("ttt")
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSaveScene(string filename)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page