Numbering of elements in Revit

Numbering of elements in Revit

mail.kylab
Contributor Contributor
1,248 Views
1 Reply
Message 1 of 2

Numbering of elements in Revit

mail.kylab
Contributor
Contributor

Hello everybody,

 

I have different wall elements and I need to create numbering for all these elements depending on their width and height. All the elements have a parameter (called "Panel graphic size") which contains the size of a certain element. All the elements with equal value of "Panel graphic size" must have equal position numbers.

 

The idea was to create dynamo algorithm which will select all the elements in a model that have parameter "Panel graphic size" then find all the unique panel sizes and assign numbers from "1" to "i" to them. It worked manually but the only way how to use it fast is to create a loop which will go over all of the unique panel sizes and assign numbers to all of them automatically. I tried to use "LoopWhile" node but seems that the program goes to infinite loop and Dynamo hangs up.

 

Many many thanks in advance for all who can help to solve this.
Yehor

0 Likes
1,249 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor

Probably better to ask on the dynamo forum.

 

https://forum.dynamobim.com/

http://dynamobim.org/learn/

 

My only other suggestion would be to ensure your exit while condition is met or check why it isn't being met.

0 Likes