getSelection Method

Get the selection stored in the provider.

getSelection(imodel: IModelConnection, level: number): Readonly<KeySet>

Parameter Type Description
imodel IModelConnection iModel connection which the selection is associated with.
level number Level of the selection (see Selection levels)

Returns - Readonly<KeySet>

Defined in

Last Updated: 13 June, 2024