deleteDefinitionElements Method
Delete definition elements from the iModel when they are not referenced.
deleteDefinitionElements(definitionElementIds: Id64Array): Id64Set
@returns The set of definition elements that were still in use and therefore not deleted.
@throws EditTxnError if this EditTxn is not active.
@throws IModelError if usage queries fail.
| Parameter | Type | Description |
|---|---|---|
| definitionElementIds | Id64Array | The Ids of the definition elements to attempt to delete. |
Returns - Id64Set
The set of definition elements that were still in use and therefore not deleted.
Defined in
- backend/src/EditTxn.ts Line 368
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.