toggleProjectExtents Function


Enable or disable the project extents decoration. This decoration draws a box coinciding with the iModel's project extents.

toggleProjectExtents(imodel: IModelConnection, enabled?: false | true): boolean

Parameter Type Description
imodel IModelConnection The iModel from which to obtain the extents.
enabled false | true  

Returns - true if the extents are now ON, false if they are now OFF.

Defined in

Last Updated: 08 January, 2020