allowExternalIModels

allowExternalIModels: boolean = false

If true, also test graphics from an IModelConnection other than the one associated with the Viewport. This can occur if, e.g., a TiledGraphicsProvider is used to display graphics from a different iModel into the Viewport.

note If you override this, you must be prepared to properly handle HitDetails originating from other IModelConnections.

see HitDetail.iModel and HitDetail.isExternalIModelHit

Defined in

Last Updated: 30 November, 2023