updateElement Method

Update an existing element in the iModel.

updateElement<T extends ElementProps>(elProps: Partial<T>): void

@throws EditTxnError if this EditTxn is not active.

@throws ITwinError if update fails.

Parameter Type Description
elProps Partial<T> The properties to update.

Returns - void

Defined in

Last Updated: 28 April, 2026