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: 

Room Tags with IF/Then Labels

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
Anonymous
2008 Aufrufe, 4 Antworten

Room Tags with IF/Then Labels

Hello Dears,

I have created a shared yes/no parameter for rooms, for "Floor Demolition" . When I create Room Tags with this parameter, I get a simple "Yes" or "No" in the tag, depending on whether I have ticked the option or not. I want the tag to say, "Floor Demolished", in case the Floor demolished options is ticked, and want it to be blank if the option is not ticked. How can I achieve this text swap? Any way to put a formula in the label which says something along the lines of, IF "Yes" then "Floor Demolished", IF "No" then " " ?


4 ANTWORTEN 4
Nachricht 2 von 5
martijn_pater
als Antwort auf: Anonymous

You could do it using a calculated value in the label.
formula: IF(<sharedparameter>, "demolished", "not demolished")

..or vice versa IF (not(<sharedparameter>, "not demolished", "demolished") works too.

 

parameter_roomtag_.jpg

 

 

 

 

 

 

 

 

 

 

 


edit: just wondering if you wouldn't just need a schedule though?

Nachricht 3 von 5
ToanDN
als Antwort auf: Anonymous

If (Floor demolition, "Floor Demolished", " ")
Nachricht 4 von 5
Anonymous
als Antwort auf: martijn_pater

I did the exact same thing yesterday (although clearly I didn't) and it didn't work. Now it did. Thanks! 

My mistake probably was that I added the Floor Demolished field to the label and then did the formula. This time, I just did the formula, and it worked! Thanks for the screenshot. It helped me identify the apparent mistake.

Nachricht 5 von 5
martijn_pater
als Antwort auf: ToanDN

Small correction in my previous reply... IF (not(<sharedparameter>), "not demolished", "demolished")

...and you can fill in " " instead of "not demolished" as Toan showed above, to answer the question precisely. edit: althought it is "along the lines"  :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