SelectionScopesManager Class

A manager that knows available selection scopes and can compute logical selection based on element IDs and selection scope.

Methods

Name Description
constructor(props: SelectionScopesManagerProps): SelectionScopesManager    
computeSelection(imodel: IModelConnection, ids: Id64Arg, scope: SelectionScope | string): Promise<KeySet> Computes keys that need to be added to logical selection based on provided selection scope.  
getSelectionScopes(imodel: IModelConnection, locale?: string): Promise<SelectionScope[]> Get available selection scopes.  

Properties

Name Type Description
activeLocale Accessor ReadOnly string Get active locale  
activeScope Accessor string | SelectionScope Get active selection scope or its id  

Defined in

Last Updated: 08 January, 2020