changeElementModel Method @beta
Deprecated in 5.11.0 - might be removed in next major version. Use EditTxn.changeElementModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Change the model of an element.
changeElementModel(props: ChangeElementModelProps): void
@throws ITwinError if the operation fails.
| Parameter | Type | Description |
|---|---|---|
| props | ChangeElementModelProps | The properties specifying the element to move and its new model. |
Returns - void
Defined in
- backend/src/IModelDb.ts Line 3435
Last Updated: 05 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.