OpenBIMRL | Tree functions
Class path: tree.removeTreeNode
Remove Tree Node

Description
Removes a node (leaf node or subtree) of a specific path from the tree.
Input
| Input | Name | Typ | Description |
|---|---|---|---|
| 0 | tree | Tree | The tree to be modified. |
| 1 | trace | Path/Trace | The path to the subtree or leaf node to be removed. |
Output
| Output | Name | Typ | Description |
|---|---|---|---|
| 0 | tree | Tree | The modified tree. |
| 1 | node | Node | Removed node |
Use/Example