Retrieve branches

Hi,

My problem might be a very beginner issue, but it comes up frequently during my work and I couldn’t find any similar topic. I have some sets of data that I want to modify while still maintaining their structure. To do this, I entwine my sets of data, make modifications, and then I want to simply retrieve my structure back. I typically do this with the Tree Branch component and eventually Flatten.

I’m thinking of a way to retrieve branches similar to the List Item component. Is there any way to retrieve every tree branch similarly to the List Item component?


tree_branch_issue.gh (16.1 KB)

Doesn’t the Explode Tree component do what you’re requesting?

When you initially drop it on the canvas, it only has 2 outputs.

Right-clicking and choosing Match outputs will add an output for each branch of the DataTree.

-Kevin

1 Like

@kev.r Yes! This is exactly the component I was thinking of! Thank you!