Group data in multiple level trees

Hi,

I’m trying to group data according to related data in multiple level trees. I am able to do it in one level, but for some reason at the second level, I get duplicate data.

What would be the best way to approach this?


group in multiple levels failing.gh (13.6 KB)

the number of branches to the List Item component must be equal (for instance Duplicate Data + Partition List on the original list until it reaches same branches as Set output)


group in multiple levels failing_Re.gh (15.2 KB)

2 Likes

Thank you! That solved it.

I’ll have to mull over it to understand it intuitively, but the important thing is that it works.

Do you know of any resources that go in depth into grasshopper data trees? The ones I’ve found online mostly only cover the basics.

It’s really more important that you understand how it works.

And that’s exactly the reason why I wrote the first part of my sentence that you quoted, and the question after that.

Until I do, though, in the present moment a more pressing problem was solved and that’s also valuable.

this video from Andrew Heumann specifically on data trees is pretty basic but very good

his youtube channel is also very instructional

generally speaking, once you get used to how data matching works everything becomes much easier :+1:

1 Like