deleteAspect Method
Deprecated in 5.1.9 - will not be removed until after 2026-08-04. 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
- backend/src/IModelDb.ts Line 3124
Last Updated: 06 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.