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: string | SelectionScopeProps | SelectionScope): 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 undefined | string Get active locale  
activeScope Accessor undefined | string | SelectionScopeProps | SelectionScope The active selection scope or its id  

Defined in

Last Updated: 30 November, 2023