clearSelection Method

Clear current selection

clearSelection(source: string, imodel: IModelConnection, level: number = 0, rulesetId?: string): void

Parameter Type Description
source string Name of the selection source
imodel IModelConnection iModel associated with the selection
level number Selection level (see Selection levels)
rulesetId string ID of the ruleset in case the selection was changed from a rules-driven control

Defined in

Last Updated: 08 January, 2020