updateProjectExtents Method
Deprecated Use EditTxn.updateProjectExtents instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
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; const txn = new EditTxn(iModel, "update project extents example"); txn.start(); txn.updateProjectExtents(newExtents); txn.end("abandon"); ```
updateProjectExtents(newExtents: Range3d): void
| Parameter | Type | Description |
|---|---|---|
| newExtents | Range3d |
Returns - void
Defined in
- backend/src/IModelDb.ts Line 1170
Last Updated: 25 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.