VectorObject.clear_collection

VectorObject.clear_collection(name, include_children=True)[source]

Clear the objects in a collection.

Parameters:
namestr

The name of the collection to clear.

include_childrenbool, optional

Clear the children collections as well.

Returns:
None