How to Weave Items from Corresponding Tree Branches?

Hello :blush: ! As I’m new to the world of Grasshopper, I’m having some difficulties managing data trees, but I’m doing my best to learn—especially since there isn’t (yet) a button called “do what I want, the way I want it”… not even with AI.:rofl: .

It might be something simple and obvious, but I’ve been stuck on this point for a while and I can’t identify the error. I want to merge two trees that have the same number of branches, with each branch containing the same number of items. Specifically, I’d like the items of the first branch of one tree to be woven with the items of the first branch of the other tree, and the same for all corresponding branches.

I’ve tried several approaches, but I always end up with the final tree being flattened. My goal is to maintain the original number of branches (7 in each input, so 7 in the final tree), and for each branch to contain the combined items from both inputs (70 items in each input, resulting in 140 items per branch in the final tree).

Thank you in advance!

My project.gh (17.7 KB)

Hello, and welcome to the forum.

You were almost there:

Your mistake was inputting the output of the Param Viewer into Weave. The Param Viewer does not output the actual values. It outputs a list of branches.