Description
|
Loads a previously saved model, and selects it. See also simSaveModel, simLoadScene, and simSetBoolParameter with sim_boolparam_scene_and_model_load_messages.
|
C synopsis
|
simInt simLoadModel(const simChar* filename)
|
C parameters |
filename: model filename. The filename extension is required ("ttm")
|
C return value
|
-1 if operation was not successful. Otherwise the handle of the model base object.
|
Lua synopsis
|
number objectHandle=simLoadModel(string filename) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|