Creating a sequence of numbers in a list of lists

Hi,

I’m trying set parameters on structural framings which I already sorted and grouped. I just need the final step of creating a sequence of numbers like: 1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,6,6,7,7,…

My final list looks like this:

test

So in other words, i’d like to sequentially number the first level list, and then apply the numbering of the first level to the second level list.

How can I do this?

Thanks,
Rui

HI,
try this concept

RANGE

I believe Element.SetParameterValueByName with list levels set correctly should manage this without cycling values. :slight_smile:

1 Like

Thank you for your prompt reply!

It’s now working!