updateAspect Method

Update an existing aspect in the iModel.

updateAspect(aspectProps: ElementAspectProps): void

@throws EditTxnError if this EditTxn is not active.

@throws IModelError if update fails.

Parameter Type Description
aspectProps ElementAspectProps The properties of the aspect to update.

Returns - void

Defined in

Last Updated: 28 April, 2026