Reordering the curve arrangement by level

Hi Guys,

Good day, l am wondering if l could be able to achieve the curve arrangement from the right side image coming from the bottom left side image? the reason why l need to achieve this so that l can easily pick or select the curves from 0 to 3.

Any idea? Thanks.

Trees:
You can pick 0-3 in both versions.
The left side would be a tree with two branches and inside the branches are one list from 0-3 so you pick the first branch.

List:
On the right side you have a one list which is a flattened tree with one branche if you go from left to right.
In this case you pick list index 0-3.

You can pick in a tree or in a list your data.

Cheers Flokart and how about this situation? please see image below, thanks.
Can I arrange the values as per the group number per level?

image

in the right one list is flattened, on the left one you have 2 tree branches(on my screen there’s 3). You can either choose one tree branch using “tree branch”, or flatten the list and use index range 0-3.


you can use “split tree” for more complex trees. I used graft tree, so you can see point indexes.
the whole tree:


xy slice:

one column:

layer column intersection:

one row in a layer:

yz slice:

xz slice, using index:

trees_dfytz.gh (14.3 KB)

1 Like

Thank you very much, these are cool!

1 Like