Hi everyone,
I would like to ask your help with parameters. I am trying to to create sequence numbers of mechanical equipments. My goal is to devide mechanical equipments sequence number by groups I created (531, 562…“BIM7AATypenummer” ). So lets say group 531 starts from 001,002 etc. Group 562 starts 001 etc… (you can see on schedule picture I tried to draw what I want to achieve).
On the schedule picture you can see that,
I’m trying to Get.Parameter.Value by Number.1 (in a circle) “Type” and create sequence
I’m trying to Get.Parameter.Value by Number.2 (in a circle) “BIM7AAKode” and create sequence sorted for every 531,562 etc… , which I dont know where to place in the script.
So, you have different kind of Mechanical Equipements and you Group those by Their Types.
Next you want to number them, starting at 001 till 00X (X being the number of ME Elements in the Group). Do you mean something like that? NumberGroups.dyn (24.0 KB)
Thank you so much for your help ! My apologize for my late respond.
I tried to follow your way, and I added List.Count Node, in order to control list numbering. But I miss one little puzzle. How could I filter or list it by last parameter called “BIM7AATypekode” which is a number (562, 572). So running number will starts from every “BIM7AATypekode” parameter. For instance 562 001, 572 001 etc… I can’t figure out where I should set this parameter by value in order to override sequence number created already by type, and then by “BIM7AATypekode”.
Yes exactly , so basicly all the Mechanical Equipments should be grouped by BIM7AATypeKode.
And logically, Type Name Parameter should be changed to BIM7AATypekode.
But then I get this kind of result. I loose the sequnce by Type Name. It exceeds only til number 2. And if you look in to List.Cound Node, thats where the block comes from.
All the parameters are “Type Parameters”. Personally I wouldn’t mind to share Revit file, but unfortunatelly I’m not allowered to do that due to companies restristions. I hope it will still possible to solve the situation this way.
Maybe a ss below could be useful somehow.