addToSelection Method
Add keys to the selection
addToSelection(source: string, imodel: IModelConnection, keys: Keys, level: number = 0, rulesetId?: string): void
| Parameter | Type | Description |
|---|---|---|
| source | string | Name of the selection source |
| imodel | IModelConnection | iModel associated with the selection |
| keys | Keys | Keys to add |
| level | number | Selection level (see selection levels documentation section) |
| rulesetId | string | ID of the ruleset in case the selection was changed from a rules-driven control |
Returns - void
Defined in
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.