Regular API function

simEmptyCollection / sim.emptyCollection

Description Deprecated. See sim.destroyCollection instead.
C/C++
synopsis
int simEmptyCollection(int collectionHandle)
C/C++
parameters
collectionHandle: handle of the collection to clear. sim.handle_all clears all collections from their obects.
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.emptyCollection(int collectionHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values