updateAspect Method
Deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.updateAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Update an exist ElementAspect within the iModel.
updateAspect(aspectProps: ElementAspectProps): void
@throws IModelError if unable to update the ElementAspect.
| Parameter | Type | Description |
|---|---|---|
| aspectProps | ElementAspectProps | The properties to use to update the ElementAspect. |
Returns - void
Defined in
- backend/src/IModelDb.ts Line 3406
Last Updated: 05 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.