Regular API function

simRemoveCollection / sim.removeCollection

Description Deprecated. See sim.destroyCollection instead.
C/C++
synopsis
int simRemoveCollection(int collectionHandle)
C/C++
parameters
collectionHandle: handle of the collection to remove. sim.handle_all removes all collections from the scene
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.removeCollection(int collectionHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values