RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

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

Search this ThreadSearch this Thread | Page 1 of 1 |

Wed, Jan 15, 2014 at 4:59:53 PM | visibility formula

#1

edf8583


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

 

Wed, Jan 15, 2014 at 10:40:57 PM | visibility formula

#2

CDWdavid


active

Joined: Mon, Aug 4, 2008
153 Posts
5 Stars: 5 Votes


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

 

Thu, Jan 16, 2014 at 11:02:09 AM | visibility formula

#3

TKennedy


active

Joined: Wed, Oct 7, 2009
654 Posts
4 Stars: 7 Votes


Try AND. The will set the parameter to True only if both conditions are met.


This user is offline

 

Thu, Jan 16, 2014 at 2:26:26 PM | visibility formula

#4

edf8583


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



Attached Images

127791_param.jpg

This user is offline

 

Thu, Jan 16, 2014 at 3:03:10 PM | visibility formula

#5

TKennedy


active

Joined: Wed, Oct 7, 2009
654 Posts
4 Stars: 7 Votes


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

 

Thu, Jan 16, 2014 at 3:28:44 PM | visibility formula

#6

edf8583


active

Joined: Mon, Mar 25, 2013
1 Posts
No Rating


Thanks TKennedy!

That makes a lot more sense now!  Works perfectly Smile


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

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

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 0.3602

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights