How to duplicate from another list



I want to duplicate points in a sublist from another sublist which contains the numbers of time I want to duplicate.

As you see below I got two list. The red box show the example, and the number 3 is how many times I want to duplicate the point in the list below

Is that possible?






I have tried cycle and List.RepeatedItem, but with both nodes I get alot of sublists in the sublist.

If I flatten the list to the end I have over 700 points total instead of only 37.


Note the lacing in the example I’ve provided. It’s set to Longest.

Lacing is indicated by the little bars at the bottom right of the nodes. Right click on the node and change the lacing.