How to create matching list

Hello. I am trying to make a list where the names below are repeated as many times as the numbers in the list above.

12 Typ 1
34 units Typ 2
14 Typ 3 etc…

Thank you in advance for your help.

Hi @yaseminV2XL5 ,

Use List.Cycle with both input levels set to @L1.

hi @Daan . Unfortunately it didn’t work. There should be 78 objects in total.


Set BOTH to @L1 :slight_smile:

Don’t change the List levels at the nde List.GetItemAtIndex node

@Daan I have 78 windows. These consist of 12 different types. I want to create a separate parameter for each window type and name it.

The extra list level in your data is what’s making this harder than it should be. Flatten the lists and it should be more apparent, but you can still use List.OfRepeatedItem with both inputs @L1.

Thank you @Nick_Boyts.

I found this solution.