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
- core/backend/src/IModelDb.ts Line 723
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.