updateAspect Method

Deprecated  in 5.1.9 - will not be removed until after 2026-08-04. 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

Last Updated: 06 May, 2026