Regular API function

simSetModelProperty / sim.setModelProperty

Description Sets the properties of a model. See also sim.getModelProperty, sim.setObjectProperty and sim.setObjectSpecialProperty.
C/C++
synopsis
simInt simSetModelProperty(simInt objectHandle,simInt prop)
C/C++
parameters
objectHandle: handle of the object that serves as the model base
prop: model property. See the model property values. Combine them with the "or"-operator
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.setModelProperty(int objectHandle,int prop)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setModelProperty(int objectHandle,int prop)