Compartmentalize Surfaces in a Data Tree- Methods?

Hello Guys, ive been looking to sort the surfaces each row into a branch

First ive been using to sort the surfaces Z value, but i am not quiet sure how it it not returning with a partitioned list containing all the surfaces in the lowest Z value

I would like your help on this

But before that, I want to know what other ways to select a specific set of row in a list (Data Tree) without the complexity of passing Z values and sorting

Please let me know, how do i retrieve a set of items in a Data Tree, what sorts of essential knowledge one should possess to have a good grip in this exploration

Thank You

forum doubt list compartmentalization of edges at each rowV1.gh (20.2 KB)

Because you did not use flatten or other tree “disturbing” :wink: actions, your list with chunks will have the same order as your first list (after dividing in domains).
To use list, you have to “flatten” it, otherwise list will see 132 branches with 1 item .

Then using series it is possible to create groups of itemnumbers and retrieve them.



forum doubt list compartmentalization of edges at each rowV1_EW.gh (52.1 KB)

Thanks for the Tip @Eef_Weenink !