Regular API function

simDestroyCollection / sim.destroyCollection

Description Removes a collection. See also the other functions related to collections.
C/C++
synopsis
simInt simDestroyCollection(simInt collectionHandle)
C/C++
parameters
collectionHandle: handle of the collection to remove
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.destroyCollection(int collectionHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.destroyCollection(int collectionHandle)

<