How to control visibility of a parameter, through a calculated value, in a label, of a tag, with yes/no parameter

How to control visibility of a parameter, through a calculated value, in a label, of a tag, with yes/no parameter

blank...
Advisor Advisor
1,901 Views
5 Replies
Message 1 of 6

How to control visibility of a parameter, through a calculated value, in a label, of a tag, with yes/no parameter

blank...
Advisor
Advisor

Clarification: I want to have a window tag that has the option to show or hide window sill height.

So I add a shared parameter in window family, instance yes/no - ShowSillHeightInTag.

Than in tag family I add a label with a calculated value, but I get stuck on how to implement it.

 

It should be something along the lines:

IF (ShowSillHeightInTag, Sill Heigh, <don't show the label at all>)

 

I get stuck on "don't show the label at all" part. How do you get the label to not be visible if ShowSillHeightInTag parameter in window family, is unchecked?

0 Likes
Accepted solutions (1)
1,902 Views
5 Replies
Replies (5)
Message 2 of 6

barthbradley
Consultant
Consultant

Use a Calculated Value in the Tag to do this.  

 

BTW: Instance Parameters are of no use to a Tag.  You need to create different Family TYPES using different settings. 

 

...or is the objective here, to not Tag a Window if it doesn't have a Sill Height?  What Window doesn't?  That Parameter is omnipresent. 

0 Likes
Message 3 of 6

ToanDN
Consultant
Consultant
Accepted solution

You cannot.  Omitting a label value only works with text label, not dimension or any kind of numeric value.  Create different tag types, one with the Sill height label, one without.

0 Likes
Message 4 of 6

blank...
Advisor
Advisor

@barthbradley wrote:

Use a Calculated Value in the Tag to do this.  


That was the idea, but as @ToanDN said, it can't be done.

 


...or is the objective here, to not Tag a Window if it doesn't have a Sill Height?  What Window doesn't?


Yes, sometimes we do have windows with sill height of zero (it's rare, but more often than you' thought, actually). In those cases sill height is omitted from the tag.

I'll just create a completely different tag family for it, better to load additional family for such specific cases than to have a bunch of unnecessary types all the time.

0 Likes
Message 5 of 6

constantin.stroescu
Mentor
Mentor

I can show you how I manage this into my projects:

  • I create first a new Annotation Window Tag Family with two Labels ,in my case : a Label with Type Mark , another one with Sill Height
  • then from Visible click on the small icon rectangle and create a New Associate Family Parameter -a Yes/Now Parameter
  • this Parameter allow me to choose if I see or not the parameter into the Project

 

 

 

Revit_r5OGXCBFKj.pngRevit_r5OGXCBFKj.png

 

 

CoXroZt7Dv.pngCoXroZt7Dv.png

WJLu9YmvSE.pngWJLu9YmvSE.png

Loaded into Project:

Revit_76bcx48G3J.pngRevit_76bcx48G3J.png

 

Revit_VRaGbkrD1n.pngRevit_VRaGbkrD1n.png

Constantin Stroescu

EESignature

0 Likes
Message 6 of 6

ToanDN
Consultant
Consultant

They are different tag types.  You cannot just select a tag instance and click the box.