deleteAspect Method

Deprecated  in 5.9.0 - might be removed in next major version. Use EditTxn.deleteAspect instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.

Delete one or more ElementAspects from this iModel.

deleteAspect(aspectInstanceIds: Id64Arg): void

@throws IModelError if unable to delete the ElementAspect.

Parameter Type Description
aspectInstanceIds Id64Arg The set of instance Ids of the ElementAspect(s) to be deleted

Returns - void

Defined in

Last Updated: 05 September, 2026