|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
42 Users Online (41 Members):
Show Users Online
- Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM |
Forums
Forums >> Revit Building >> Technical Support >> visibility formula
|
|
active
Joined: Mon, Mar 25, 2013
1 Posts No Rating |
I have three elements (overlapping geometry) with the visibility controlled with yes/no conditions based on a numerical value from another parameter. <4 checks one box and therefore turns one on, >6 checks the other and turns another on. How would i write a formula to have the last one checked and come on if the value falls between 4 & 6?
|
This user is offline |
|
|
|
active
Joined: Mon, Aug 4, 2008
153 Posts
|
You may use "IF" command.
You can open a door family in the thread below and see what I did, which I was using "IF" to control the visibility.
http://www.revitcity.com/downloads.php?action=view&object_id=11969
|
This user is offline |
|
|
active
Joined: Wed, Oct 7, 2009
654 Posts
|
Try AND. The will set the parameter to True only if both conditions are met.
|
This user is offline |
|
|
active
Joined: Mon, Mar 25, 2013
1 Posts No Rating |
thank you CDWdavid but I think what I want is more simple. I'm trying TKennedy's advice but getting an error using "yes" as a value? There is a pic of my parameters attached
|
This user is offline |
|
|
active
Joined: Wed, Oct 7, 2009
654 Posts
|
Yes/No parameters are a little odd in that you don't need to say Yes/No, True/False, etc. If the condition is true, the parameter is set to "on". In your case the IF condition is redundant, so your formula is simply 'and(not(GreyVisible), not(BlueVisible))'. Revit will read that as "if GV is not true and BV is not true, turn Y on". Unless the help file has been updated since I first learned about Revit booleans, that's not spelled out very clearly.
Edit: I misread your formula the first time, it would have worked backwards. Fixed now.
Edited on: Thu, Jan 16, 2014 at 3:05:31 PM
|
This user is offline |
|
|
active
Joined: Mon, Mar 25, 2013
1 Posts No Rating |
Thanks TKennedy!
That makes a lot more sense now! Works perfectly
|
This user is offline |
|
|
|
Similar Threads |
Opposite formula |
Revit Building >> Technical Support
|
Fri, Jun 20, 2008 at 3:46:44 AM
|
8
|
Help with formula needed |
Revit Building >> Technical Support
|
Wed, Apr 9, 2014 at 10:47:20 AM
|
2
|
Visibility Formula in Family Parameters |
Revit Building >> Technical Support
|
Mon, Apr 24, 2017 at 6:06:35 PM
|
1
|
Visibility Parameter Formula based on 0.5m Lengths |
Revit Building >> Technical Support
|
Tue, Sep 6, 2011 at 4:59:07 AM
|
1
|
Using schedule total in formula? |
Revit Building >> Technical Support
|
Fri, Apr 4, 2014 at 10:29:50 AM
|
9
|
|
|
Site Stats
Members: | 2056486 | Objects: | 23074 | Forum Posts: | 152326 | Job Listings: | 3 |
|