Regular API function

simGetModelProperty
remote API equivalent: simxGetModelProperty
RosPlugin API equivalent: simRosGetModelProperty

Description Retrieves the properties of a model. See also simSetModelProperty, simGetObjectProperty and simGetObjectSpecialProperty.
C synopsis simInt simGetModelProperty(simInt objectHandle)
C parameters
objectHandle: handle of the object that serves as the model base
C return value
model property values, or -1 if operation was not successful
Lua synopsis number property=simGetModelProperty(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function. See also the boolean operators in Lua.

All regular API functions on one page