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: 21 December, 2024