Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Can a parameter in door family control the visibility of elements in tag family?

blank...
Collaborator

Can a parameter in door family control the visibility of elements in tag family?

blank...
Collaborator
Collaborator

What I need: our door tags have different symbols on them, depending on door material. One symbol if the door is made of wood, another for metal, third for plastic.

I want to create a single tag family that will "read" what material the door is made of, and change accordingly.

I started by creating a shared parameter (integer) which I inserted in door family. 1 would be wood, 2 metal, 3 for plastic.

Then I inserted the same parameter in tag family and set up formulas which drive symbols visibility. This work fine in tag family.

But when inserted in a project, tag doesn't read what is set for the door. I thought maybe tag parameter will automatically see the value of the door parameter, the same way labels do, but clearly they are not connected in any way.

 

Is there a way for doors to report a value to the tag family, and have the tag change automatically?

 

- Why don't you just create different tag types?

- Because our tags have to respect door directionality, and Revit doesn't recognise doors directionality. To clarify, looking at a plan view, if doors open up - tag must be placed up, if doors open down - tag must be down, if left, left... This way i'd have to have 4 families each with 3 types, basically 12 different tags in total which I'd have to manually set for each door! Keeping track of that when something changes in project would be difficult and, more importantly, very error prone.

 

Thanks in advance!

 

Doors.jpg 

0 Likes
Reply
Accepted solutions (2)
1,185 Views
17 Replies
Replies (17)

barthbradley
Consultant
Consultant

What about Tall All Selected Objects and chose the Tag manually. You could use Filter to select Multiple Doors meeting certain criteria.  

0 Likes

ToanDN
Consultant
Consultant
Accepted solution

Parameters in host family can only control LABELS in tag families.  Therefore, you can utilize formula in a calculated value Label to change the Label value.  The value can consist of a string of text, a blank space, special characters for custom shapes.

barthbradley
Consultant
Consultant

So, how would you do this?

 

Tag Shape.png

0 Likes

yes_and_no
Collaborator
Collaborator

You must have worked for a nut firm. I never heard of such directional door tag, in any books/manuals. Besides the point here, perhaps you can suggest changing the door graphic instead, as shown.

hnA__20211218_192134.jpg

0 Likes

RDAOU
Mentor
Mentor

One long writup which is so detailed that it  looks like a job order

 

You left out the part on how this should be billed? Hourly or lump sum for the family?

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes

blank...
Collaborator
Collaborator

@ToanDN

Parameters in host family can only control LABELS in tag families.  Therefore, you can utilize formula in a calculated value Label to change the Label value.  The value can consist of a string of text, a blank space, special characters for custom shapes.


So theoretically, if I could create a custom font with only those three symbols, I could create such "door material dependent" tag? Although I don't know if creating font with such thin lines is even possible...

 

@barthbradley 

So, how would you do this?

 No idea, that's why I'm asking 😁

 

@RDAOU 

so detailed that it  looks like a job order

It's not, explanation bellow.

@yes_and_no 

You must have worked for a nut firm. I never heard of such directional door tag, in any books/manuals. Besides the point here, perhaps you can suggest changing the door graphic instead, as shown.


 

Nope, this is standard in my country. This is how it's done. This is how everybody is doing it. So suggesting some radically different way of tagging doors / windows wouldn't go over well. If there is no way of automating it I will have to create different families/types and do it manually, AutoCAD style.

Also, this was just a simplification of the tag, it actually holds 6 pieces of information:

- width

- height

- height of fanlight if it has it (or height of box for rolling shutters for windows)

- type mark

- parapet height for windows

- material (shape of symbol)

 

Since plans get quite busy all of those also must be movable and stretchable per instance. Here's a gif how that looks in AutoCAD.

0 Likes

barthbradley
Consultant
Consultant

@blank... wrote:

 

 

@barthbradley 

So, how would you do this?

 


Exactly like I told you in the beginning. Choose the Tag Type manually when tagging doors in Project.  That is, Filter-Select all like Door Types and use Tag All (on the Annotation tab) with the appropriate Tag Type (e.g. the Type with the square, circle or triangle).  

0 Likes

blank...
Collaborator
Collaborator

@barthbradley wrote:

Exactly like I told you in the beginning. Choose the Tag Type manually when tagging doors in Project.  That is, Filter-Select all like Door Types and use Tag All (on the Annotation tab) with the appropriate Tag Type (e.g. the Type with the square, circle or triangle).  


Right, manually, which is what I'm hoping to avoid:

- Why don't you just create different tag types?

- Because our tags have to respect door directionality, and Revit doesn't recognise doors directionality. To clarify, looking at a plan view, if doors open up - tag must be placed up, if doors open down - tag must be down, if left, left... This way i'd have to have 4 families each with 3 types, basically 12 different tags in total which I'd have to manually set for each door! Keeping track of that when something changes in project would be difficult and, more importantly, very error prone."

 

Anyway, I'll seem to be able to create custom font with those symbols, so I'll get back to this thread once I get into it, for now I can't figure out how to control which character labels show as suggested by @ToanDN.

0 Likes

ryley.g.h
Advocate
Advocate

What if you were to draw the tag in the door family with model lines, set them like 1" above the reference level so no floor finish covers them, and set their visibility to only show in plans/RCP's? You can then use the tag all by door type, with a door tag that is literally just the type mark & drag it into place. I find regardless of plan scale, you always have to move the door tag anyways because it never places in a great spot. Theoretically you're doing the same thing, with just 1 less step.

 

You can setup type-visibility parameters that you turn on/off by the different door types you have. If you want the tags to not show in an RCP, give them a custom object style that you can turn off in the RCP view template.

0 Likes

blank...
Collaborator
Collaborator

@ryley.g.h wrote:

What if you were to draw the tag in the door family with model lines,


This actually could work, thanks for the idea! But let's first see if I'll be able to create a more robust solution.

0 Likes

blank...
Collaborator
Collaborator

@ToanDN wrote:

 Therefore, you can utilize formula in a calculated value Label to change the Label value.  The value can consist of a string of text, a blank space, special characters for custom shapes.


Could you please point me in the right direction how to do this. Almost every tutorial I found deals with calculating actual values (areas, occupancy). If they do deal with text then the formula for the calculated value is IF(then, else) which allows only two values to be determined, and I need three.

0 Likes

ToanDN
Consultant
Consultant

@blank... wrote:

@ToanDN wrote:

 Therefore, you can utilize formula in a calculated value Label to change the Label value.  The value can consist of a string of text, a blank space, special characters for custom shapes.


Could you please point me in the right direction how to do this. Almost every tutorial I found deals with calculating actual values (areas, occupancy). If they do deal with text then the formula for the calculated value is IF(then, else) which allows only two values to be determined, and I need three.


if ( condition is met, "text string 1", "text string 2")

0 Likes

barthbradley
Consultant
Consultant
Accepted solution

@blank... wrote:

IF(then, else) which allows only two values to be determined, and I need three.

 

I think you want a nested IF statement.

 

IF (<condition>, <result-if-true>, IF (<condition>, <result-if-true>, <result-if-false>)) 

 

 

Revit Formulas for "everyday" usage - Revit Forum

0 Likes

blank...
Collaborator
Collaborator

@barthbradley wrote:

I think you want a nested IF statement.

 


It works! I didn't know you can nest them, but you can even have multiple levels of nesting. This way I got four symbols, forth one being nothing i.e. an empty space, which is what we use for openings. Now to create custom font, I'll report back how well it worked out. Thank you!

blank...
Collaborator
Collaborator

Works! Even better than expected because "lower/right" and "upper/left" can share a type, so I just need two, not four. Now to figure out if making everything movable and stretchable is at all possible, but that's another topic for another thread.

Thank everyone for helping!

0 Likes

Ric_Weber
Collaborator
Collaborator

I have a similar issue I'm trying to figure out.  Also a door tag issue.  

 

Is there a way to make a door tag that reads "X <host count> @  <size> = <total # of occupants>"?  I'm trying to make a door tag that I could use on a string of doors (like in a curtain wall, several doors of the same size; side by side) where I could use one tag, but use the multileader and put a leader to each of them from one tag.  And then have the tag read the host count, which it can do, then have it read the egress width which it can do from the door itself, then have it calculate the total occupants though that set of doors by reading the occupancy of each door (which in my case it is pulling from the door) and multiplying by the host count.  I've even tried setting up a manually entered host count  type parameter in the door tag that it could use as a host count to do the math with and I can't get it to display the total occupant number no matter what I try.  I've tried multiple things.   Is there a way to do this?  I would think it should be, but I can't find it.  I need the tag to do a calculation by multiplying host count by an integer that it is pulling from the door.   

0 Likes

Ric_Weber
Collaborator
Collaborator

I'd like it to look something like this: 

 

Ric_Weber_1-1729286004306.png

 

0 Likes