clearItems();
The clearItems method removes all dimensions from a collection that is a metabase object.
The example of use is given in the page with description of the DimSelectionSet.addItemByDim method.
See also:
DimSelectionSet