Description
|
Sets the object selection state. See also the other related functions. |
C/C++ synopsis
|
simInt simSetObjectSel(const simInt* handles,simInt cnt) |
C/C++ parameters |
handles: the handles of objects, or nullptr
cnt: the number of objects
|
C/C++ return value
|
The number of selected objects, or -1 in case of an error
|
Lua synopsis
|
int[] selectedObjects=sim.getObjectSelection() |
Lua parameters |
|
Lua return values
|
selectedObjects: the handles of selected objects
|
Python synopsis |
list selectedObjects=sim.getObjectSelection() |