|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
82 Users Online (81 Members):
Show Users Online
- Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM |
Forums
Forums >> Revit Building >> Technical Support >> Using a Yes/No Parameter to control the visibility of another Label in a Tag
|
|
active
Joined: Tue, Apr 24, 2012
11 Posts No Rating |
I am trying to create our typical Light fixtures with an on/off parameter for our Emergency Light annotation. I have the hatch for the "Emergency Light" on a Yes/No Parameter (instance) so that once in the project you can choose which ones will display the hatch by simply checking the box. Along with this I was hoping to tie my Light Fixture Tag into the same control. I would like to use the same tag and have a "X" displayed at the end of the name if the "Emergency Light" box is checked on per light. If the box is not checked, I don't want the "X" at the end of the tag displayed (or a space could be there...)
So far I have been using an overall shared parameter between my light fixture, the tag and the actual building model.
The first method I tried was to have the Shared Parameter set as a yes/no value and in the light fixture family set the formula to Emergency Light Tag = Emergency Light. This worked essentially...but in the model it produced a "yes" or a "no" at the end of the tag instead of my desired "X" which was in the label in the tag.
So I determined I needed a text shared parameter instead and was trying to use an IF statement that went along the lines of Emergency Light Tag = IF (Emergency Light = 1, "X", " "). The error I receive with this is "Improper use of boolean expressions"
I am not sure where my error is. I have also tried to add a visibility parameter to a simple text in the tag, but that doesn't seem to work. Any thoughts? Thanks!
(Revit 2013)
-----------------------------------
---
Revit 2013 |
This user is offline |
|
|
|
active
Joined: Wed, Oct 7, 2009
654 Posts
|
Revit Y/N parameters work like this in formulas: if(Emergency Light, "X", "")
It only uses the "True" condition in the formula, so there is no need for the '=1' of '= no' or anthing like that.
|
This user is offline |
|
|
active
Joined: Tue, Apr 24, 2012
11 Posts No Rating |
AHHH, thank you!!! This was driving me crazy! Works perfectly now!!
|
This user is offline |
|
|
active
Joined: Fri, Jun 25, 2010
1 Posts No Rating |
@britc
Can you either explain further how you got this to work (I'm having the exact same issue with lighting I'm creating), or upload your model that you got to work so I can see how you used the formula to control the parameter? I really appreciate any help you can offer!
*Update - Never mind, got it figured out
Edited on: Wed, Feb 6, 2013 at 2:04:25 PM
|
This user is offline |
|
|
|
Similar Threads |
Instance Parameter to control another Instance Parameter |
Revit Building >> Technical Support
|
Thu, Jul 22, 2010 at 6:22:48 AM
|
2
|
Creating a wall tag with a volume parameter |
Revit Structure >> Technical Support
|
Sun, Jun 23, 2013 at 3:56:03 PM
|
3
|
Is it a good practic to embedde text label inside REVIT family? |
General Discussion >> Revit Project Management
|
Thu, Feb 13, 2014 at 9:27:12 AM
|
1
|
Family w/ Label and Drag Control |
Revit Structure >> Technical Support
|
Mon, Mar 3, 2008 at 12:04:46 PM
|
0
|
How can I make a new tag (with new text field on the label) for Area plans? |
Revit Building >> Technical Support
|
Thu, Jul 5, 2018 at 1:51:27 AM
|
9
|
|
|
Site Stats
Members: | 2056445 | Objects: | 23069 | Forum Posts: | 152325 | Job Listings: | 3 |
|