deleteElementTree Function
Deletes an element tree starting with the specified top element. The top element is also deleted. Uses ElementTreeDeleter.
deleteElementTree(iModel: IModelDb, topElement: string): void
| Parameter | Type | Description | 
|---|---|---|
| iModel | IModelDb | The iModel | 
| topElement | string | The parent of the sub-tree | 
Returns - void
Deletes an element tree starting with the specified top element. The top element is also deleted. Uses ElementTreeDeleter.
deleteElementTree(args: DeleteElementTreeArgs): void
| Parameter | Type | Description | 
|---|---|---|
| args | DeleteElementTreeArgs | Specifies the iModel and top element. | 
Returns - void
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.