Regular API function

simCreateCollectionEx / sim.createCollection

Description Creates a new collection. A collection created in a child script, a customization script or int the main script will be automatically destroyed when the script ends. See also the other functions related to collections.
C/C++
synopsis
simInt simCreateCollectionEx(simInt options)
C/C++
parameters
options: bit-coded options:
bit 0 set (1): collection overrides collidable, measurable, detectable properties, and also the visibility state of its objects.
C/C++
return value
-1 if operation was not successful, otherwise the handle of the new collection.
Lua
synopsis
int collectionHandle=sim.createCollection(int options=0)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int collectionHandle=sim.createCollection(int options)

<