I’m hoping to pull only the first rectangles into their own tree. I’ve tried indexing it with list but to no avail. I also tried construct domain but the output still contained all the paths.
grasshopper file (credits to magicteddy) Rectangles.gh (25.2 KB)
Cool, thanks for the help. Hope you feel big telling an undergrad to give up on Grasshopper as a middle-aged man not like I just started learning the software or anything
I appreciate the elaboration and can agree with the sentiment that I should learn data trees as it’s important. However, I feel there are more productive ways to go about it, such as your follow-up. I do appreciate the time you’ve taken to create a script and give me a starting point, so thank you once again.
Just to say, even after all these years the primer is still the best way to learn about data trees if you’re keen on figuring them out. I still remember getting confused about what is going on (sometimes I still do) and going through the primer - the 1st edition back then - bit by bit was the best way to do it. The diagrams are tremendously helpful in visualising things.