computeSelection Method
Computes keys that need to be added to logical selection based on provided selection scope.
computeSelection(imodel: IModelConnection, ids: Id64Arg, scope: string | SelectionScopeProps | SelectionScope): Promise<KeySet>
| Parameter | Type | Description | 
|---|---|---|
| imodel | IModelConnection | |
| ids | Id64Arg | Element IDs to compute selection for | 
| scope | string | SelectionScopeProps | SelectionScope | Selection scope to apply | 
Returns - Promise<KeySet>
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.