Regular API function

remote API equivalent: simxRemoveModel
RosPlugin API equivalent: simRosRemoveModel

Description Removes a model from the scene. See also simRemoveObject.
C synopsis simInt simRemoveModel(simInt objectHandle)
C parameters
objectHandle: handle of the model (i.e. object tagged as model) to remove.
C return value
-1 if operation was not successful, otherwise the number of removed objects (a model might contain several objects)
Lua synopsis number removedCnt=simRemoveModel(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page