Duplicate branches in specific order

How can I achieve the same result but in a more parametric way? In my script number of branches will change so I can’t use this workaround. Pathmapper is what should I use?

stack branches.gh (10.6 KB)

Hi,

one of many solutions…

stack branches_RE.gh (10.0 KB)

1 Like

Of course… probably got to go to bed.
Thank you!

@Czaja,

If you are to play alot with data tree, branches, etc. I highly recommande you learn the use of the pathmapper


stack branches_RE.gh (20.1 KB)

Regards,
-CC

1 Like

Yep…in his case path-mapping would go like this, since he needed 2 level paths.

2

2 Likes