Working with a Dimension > Classes > DimSelection > DimSelection.deselectAll
deselectAll ();
The deselectAll method removes all dimension elements from the selection.
The example of use is given in description of the DimSelection.getElements method.
See also: