updateProjectExtents Method
Update the project extents for this iModel.
Example: ``` ts // This is an example of how to expand an iModel's project extents. const originalExtents = iModel.projectExtents; const newExtents = Range3d.create(originalExtents.low, originalExtents.high); newExtents.low.x -= 50; newExtents.low.y -= 25; newExtents.low.z -= 189; newExtents.high.x += 1087; newExtents.high.y += 19; newExtents.high.z += .001; iModel.updateProjectExtents(newExtents); ```
updateProjectExtents(newExtents: Range3d): void
Parameter | Type | Description |
---|---|---|
newExtents | Range3d |
Returns - void
Defined in
- backend/src/IModelDb.ts Line 719
Last Updated: 20 June, 2023