Skip to content

OpenBIMRL | Tree functions

Class path: tree.createTrace

Create Trace

createTrace1.png

Description

Creates a new path/trace based on lists with indexing values. Existing paths can be extended by appending the specified list to the path. Otherwise, a new path is created based on the extension.

Input

Input Name Typ Description
0 trace Path/Trace Indexed structure that describes the path within a tree structure
1 extensions List A list of positive integer values that flow into the path or define a new path.

Output

Output Name Typ Description
0 modifiedTraces Path/Trace Extended or new path/trace

Use/Example

createTrace2.png

Node representation with example values

Sample file