Regular API function

simRemoveDrawingObject

Description Removes a previously added drawing object. See also simAddDrawingObject and simAddDrawingObjectItem
C synopsis simInt simRemoveDrawingObject(simInt objectHandle)
C parameters
objectHandle: handle of a previously added drawing object. sim_handle_all removes all drawing objects from the scene
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=simRemoveDrawingObject(number objectHandle)
Lua parameters
objectHandle: handle of a previously added drawing object. sim_handle_all removes all drawing objects from the scene, that were created in a script (drawing objects created from the C interface are not removed)
Lua return values
Same as C-function

All regular API functions on one page