Dynamo with revit to tag elements by number sequence

Please i need help i want dynamo script to allow me to tag lighting fixtures with sequence number i will tag them from left to right i need first light fixture to take number 1 and second one to take number 2 and so on



simoneavellini , thank you for fast respomse and it works perfect :slight_smile:

but i have one problem : it only take one row in serial numbering i need to take all the plan lighting fixtures in serial numbering : go in first row 1,2,3,4,5,…etc and back from second row 6,7,8,9,…etc any way to do this???

amended quickly…quite rough :slight_smile:

1 Like

You are a hero :+1: Thank you so much

If you dont want to count the elements in the rows you can sort it this way

I want to go in first row from left to right 1,2,3,4…etc and get back from end of second row from right to left 5,6,7,9,… in continous loop numbering any way to do this ?