Hi everyone, I have two lists: the first one has 15 elements distributed across 6 branches with different counts per branch. The second list contains 15 elements, each in its own individual branch (15 branches total).
I want to restructure the second list so it matches the hierarchy of the first one automatically. Specifically, I need the second list to be organized into 6 main branches: one branch containing a specific number of sub-branches with their corresponding surfaces, another branch with 10 sub-branches, and the remaining branches with 1 sub-branch each.
I have managed to reorder the paths of the second list to match the first one using the ‘Unflatten Tree’ logic, but I can’t get the actual data to follow that structure. How can I achieve this without manual intervention? Thanks in advance for your help!
Forum8.gh (74.0 KB)

