Duplicate primary input tree for every item of secondary input

unhandled
tree

(Roman Kalashnikov) #1

Hello!
I got a problem trying to solve it for two days.

There is a input tree of data, and a secondary input list. I want to create a new tree of modified data for every item in secondary, “guide” list.

In this example I want to get three branches in output, where first will contain input tree with every item multiplied by 1, second will contain tree multiplied by 2 and third branch will contain tree multiplied by 3.

Problem seems to be not so difficult, but I failed every way I tried - creating duplicate trees with Grasshopper API and so with duplicating “guide” for every tree item. Please help to find a solution or just push me in a right way. Thanks.
treeDuplicate.gh (28.0 KB)