Hi there,
I'm quite new to formulas in Revit but I have seen this somewhere before. However, I'm not able to get it right.
I have a door Tag to identify different Fire ratings. Instead of creating each individual type inside the family, we would like the Tag to read the Tag_FireRating shared parameter and automatically pick the correct color and text for it. But I can't really figure out how I should phrase the formula for this to work.
Any ideas as we don't want to control that by the visibility settings and have 7 different types inside the tag.
Green - if Tag_FireRating is 30S, 30Sa or 30C
Blue - if Tag_FireRating is 60S, 60Sa or 60C
Red - if Tag_FireRating is 120S
many thanks
Claudia
What you are trying to do can't be done directly. Text can't be used formulas. Tags can't do anything but report data. Families can't control which Tag Type is used on it in a Project View. Maybe an approach would be to use Project View Filters in Project Views to hide all the Doors with a particular Fire Rating and then Tag All Doors remaining visible in View with a particular Tag Type. Rinse and Repeat for each Tag Type/Color.
Barth's response works. You could also use Dynamo to get to your initial goal posted above, but that would take a bit more work if you aren't familiar with Dynamo yet.
You can use formulas in the family to change label color, but not text or symbol.
Only way to achieve this is to embedded this tag into the Door itself. (See attached)
I was probably not clear.
the family is like this
Label that reads the Fire Rating parameter (shared parameter) in the door family.
Every label has the correct color (one for green, one for blue, and one for red)
Then I added filled regions for the circle around structured the same way the label colors.
Then I created Yes/No parameters for Green, Blue, and Red and assigned the respective label and filled region.
Is there a way to add a conditional parameter that when the tag is applied to the door it will put the correct color of that tag? If the door has an FDS60 the tag will be Blue but if is FDS30 then will be green and so on.
Thanks again
As I mentioned I'm new to formulas and not en expert
As you seem to know the formula could you share knowledge?
Thanks
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.