Assigning sequencial number

Hello,
I created a dynamo script to assign sequential number to elements in revit, but the way it’s done now, I need to see how many elements there are and then input the number to code block and then unfreeze the “set parameter” node.
Is there a way to make automatic count +1 ? Thanks!

Just use a List.Count node for the elements

image

Thanks!
It seems to work, but what if you have more items than alphabet letters?

That was just an example. You can have any number of elements and get a sequence for them.

Oh, sorry I’m a newbie, thanks a lot!

1 Like