Regular API function

simSetModelProperty
remote API equivalent: simxSetModelProperty
RosPlugin API equivalent: simRosSetModelProperty

Description Sets the properties of a model. See also simGetModelProperty, simSetObjectProperty and simSetObjectSpecialProperty.
C synopsis simInt simSetModelProperty(simInt objectHandle,simInt prop)
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 return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetModelProperty(number objectHandle,number prop)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page