Regular API function

simEmptyCollection / sim.emptyCollection

Description DEPRECATED. See sim.destroyCollection instead.
C/C++
synopsis
simInt simEmptyCollection(simInt 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