constructor Method

Construct an ElementSubTreeDeleter.

ElementSubTreeDeleter(iModel: IModelDb, shouldPruneCb: ElementSubTreeDeleteFilter): ElementSubTreeDeleter

see deleteElementSubTrees for a simple way to use this class.

Parameter Type Description
iModel IModelDb The iModel
shouldPruneCb ElementSubTreeDeleteFilter Callback that selects sub-trees that should be deleted.

Returns - ElementSubTreeDeleter

Defined in

Last Updated: 20 June, 2023