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: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.