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>

Last Updated: 12 June, 2024