Description
|
Loads a previously saved scene.See also sim.saveScene, sim.loadModel, simCloseScene and sim.setBoolParameter with sim.boolparam_scene_and_model_load_messages.
|
C synopsis
|
simInt simLoadScene(const simChar* filename) |
C parameters |
filename: scene filename. The filename extension is required (ttt, or simscene.xml ). By default, the current scene will be removed. Append "@keepCurrent" to the filename if the current scene should be preserved.
|
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=sim.loadScene(string filename) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|
Remote API equiv.
|
|