Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt fĂŒr 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Calulated value in Room Tag, Text from test parameter

7 ANTWORTEN 7
Antworten
Nachricht 1 von 8
LOESCH_PK
994 Aufrufe, 7 Antworten

Calulated value in Room Tag, Text from test parameter

Hey everyone!

I have a large housing project with thousands of rooms. They are all set to "Apartments" department (In Polish, "Mieszkania"). The department is a default Revit parameter that is dependent on the group, and all apartments are in groups. The rooms are already numbered by Apartment number and room number within it.

Now I would like for the Room Tag to show the room number, and before the room number a letter depending on the department the room is in, for example M122.2. Am I able to make the Tag show an "M" letter, if the Department equals "Mieszkania", and another letter if the department name is different (preferably the first letter of the department name)?

I used Tools4Revit to renumber the apartments, so I could just use it to renumber again an add an "M" before the numbers, and a different renumbering scheme for different apartments. I could also add another parameter independent of groups, make a schedule that sorts by the department name and just add the letter, but that has to be checked with every room update. Both of these are imperfect solutions for me.

Any ideas? Using an IF condition in a calculated value in the tag won't do the trick, since the condition can't be a text (IF(DziaƂ = Mieszkanie, "M", "") does not work.

7 ANTWORTEN 7
Nachricht 2 von 8
Sahay_R
als Antwort auf: LOESCH_PK

Department is a default parameter available to the Room tag. Set up M as a label prefix.

Capture.JPG


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 3 von 8
LOESCH_PK
als Antwort auf: Sahay_R

But that will write "M" AND the department name. I want Revit to show "M" INSTEAD of the parameter name.

Nachricht 4 von 8
Ilic.Andrej
als Antwort auf: LOESCH_PK

All you have to do is use two parameters. One will be displaying letters like "M" while other full department name like "Mieszkania". "Mieszkania" can be a Department value, while "M" can be a Comments value (or a value of new custom parameter). Use <<Comments>> to tag rooms, use <<Department>> for schedule's etc... I know that it would be nice that they are dependent one from another. But if you can just input two values, why not do that?



Andrej Ilić

phonetical: ĂŠndreÉȘ ilich
MSc Arch

Autodesk Expert Elite Alumni

Nachricht 5 von 8
Sahay_R
als Antwort auf: LOESCH_PK

It seems that the M is going to be there independent of the value of the Department. Add a type parameter with the value M to the room tag label and to the project associated with Rooms.

 

Or to keep things simpler (it hit me as soon as I clicked Post!) just add M to the tag label as a prefix to Number. 

Capture.PNG

 


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 6 von 8
LOESCH_PK
als Antwort auf: Sahay_R

Ok, but "M" is only to be added when the department is "Apartments". When the department is "Retail" I want the Tag to show "U", when it's "Shared spaces" it should show "K" etc. The thing I want to achieve is kind of a calculated value that gives a certain text, when it finds another one (or just shows the first letter). 

Still the simplest solution I see is add a new parameter called "letter", make a schedule that sorts by departments and just write the letters in. But that is another step someone has to remember about before any printing with room tags, and I want this done automatically.

Nachricht 7 von 8
Sahay_R
als Antwort auf: LOESCH_PK

Department is a system parameter and I don't think it is smart enough to talk to a custom parameter (you know, something like Letter=Department).

Or try different tags with a different prefix?


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 8 von 8
LOESCH_PK
als Antwort auf: Sahay_R

Using different tags for different rooms is also too messy for me. I think I'll just add an additional parameter for this, and a grouped schedule.

Could you just confirm that it is not possible to use the IF() formula to write a text if another text is a certain value? Just for peace of mind. And I'll call it a day. :leicht_lÀchelndes_Gesicht:

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report