vcSelectionManager

vcSelectionManager is responsible for handling the types of selections used by the application.

Methods

Name Return Type Parameters Description
clear None None Removes all objects from selection.
getSelection List of <Type> Enumeration type Returns a list of objects of a given type that are in selection.

See Selection Constants for more information.

setSelection None <Type> object, [Boolean append]

or

List of <Type> objects, [Boolean append]

Creates a new selection for a given object or list of objects of a supported selection type.

An optional append argument can be used to retain current selection, thereby appending the given object(s) to that selection.

See Selection Constants for more information.

Events

Name Parameters Description
OnSelectionChanged None Triggered when a selection has changed in application.