Regular API function

simLoadScene / sim.loadScene

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
Lua synopsis sim.loadScene(string filename)
Lua parameters
Similar to the C-function counterpart
Lua return values
none
Remote API equiv.
B0-based remote API: simxLoadScene
Legacy remote API: simxLoadScene