Regular API function

simIsObjectInSelection / sim.isObjectInSelection

Description Deprecated. See the object selection functions.
C/C++
synopsis
simInt simIsObjectInSelection(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the object
C/C++
return value
3 if object is the last selection,1 if object is in selection, 0 if not, -1 if operation was not successful
Lua
synopsis
int selectionState=sim.isObjectInSelection(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart