RevitCity.com Logo

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

Welcome !

89 Users Online (88 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Revit Building >> Technical Support >> Yes/No Parameters

Search this ThreadSearch this Thread | Page 1 of 1 |

Fri, Jan 25, 2008 at 8:16:05 AM | Yes/No Parameters

#1

raredmon


active

Joined: Wed, Nov 14, 2007
42 Posts
No Rating


How can I make a yes/no parameter so that when it is on, another yes/no parameter turns off? I was thinking of using a conditional statement (such as if...), but I cannot make it work. Please help if you have done this before or have any ideas.Thanks.

This user is offline

 

Fri, Jan 25, 2008 at 8:38:28 AM | Yes/No Parameters

#2

WWHub


site moderator|||

Joined: Tue, May 16, 2006
13079 Posts
3.5 Stars: 389 Votes


For this to work, one parameter would have to exist and be set before the other and since there is no sequencing that I know of, I don't think there is any way you could do this. 

 

BUT ... you can use types in your families where you preset A not B or B not A..... 


This user is offline

 

Fri, Jan 25, 2008 at 11:01:59 AM | Yes/No Parameters

#3

brettgoodchild


active
brettgoodchild Avatar

Joined: Sat, Feb 4, 2006
425 Posts
4 Stars: 17 Votes


If I understand you, you want to be able to check on visibility check box and have another turn off?

 

You can do this by making one not equal the other in the formula area.

For example one I used on a title block recently:

 ________________________________________________________________

Parameter                   Value                  Formula

Minnesota Reg #         ######            = 

Wisconsin Reg#          ######            = not (Minnesota Reg #)

 ________________________________________________________________

 

 This way if I uncheck Wisconsin, Minneosta automatically turns on and if I check Wisconsin the Minnesota turns off.

 

HTH

 

Brett 

 


-----------------------------------

"You cannot escape the responsibility of tomorrow by evading it today. "
                             ~ Abraham Lincoln

This user is offline

 

Fri, Jan 25, 2008 at 12:01:16 PM | Yes/No Parameters

#4

WWHub


site moderator|||

Joined: Tue, May 16, 2006
13079 Posts
3.5 Stars: 389 Votes


Wow  brettgoodchild - I gotta try that one.

This user is offline

 

Fri, Jan 25, 2008 at 1:11:51 PM | Yes/No Parameters

#5

brettgoodchild


active
brettgoodchild Avatar

Joined: Sat, Feb 4, 2006
425 Posts
4 Stars: 17 Votes


Hope it works out for you as I use it a lot!

-----------------------------------

"You cannot escape the responsibility of tomorrow by evading it today. "
                             ~ Abraham Lincoln

This user is offline

 

Mon, Aug 26, 2013 at 11:52:32 AM | Yes/No Parameters

#6

mattjfrank


active

Joined: Mon, Aug 26, 2013
1 Posts
No Rating


brettgoodchild-

This is great, but I'm curious if it's possible to do this with three options?

Here's the scenerio:

I have three visibility parameters created (justify right, justify left, centered), if one is checked the other two need to deselect.

So I set the first (Justify Right) to     =not(and(or(Justify Left, Centered)))

which works perfectly. If either Justify Left or Centered is checked it is deselected.

Now the problem is getting the other two to cooperate.

My first inclination was to write another similar formula for Justify Left =not(and(or(Justify Right, Centered))).

I receive a circular error script.

 

My next inclination was to simply write  Justify Left=not(Centered), which Revit accepts, but then Justify Right is lost in the loop.

 

Any ideas???

 

Thank you in advance!!


This user is offline

 

Mon, Aug 26, 2013 at 8:58:04 PM | Yes/No Parameters

#7

CDWdavid


active

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


Hi Matt,

 

Here is my way to work around it.

Using integers and Y/N combination, please see my door schedule and open any door family in that thread to see the formula.

And go to door schedule, change the value for "Door Type", you will see the changes for "(2) DOOR TYPE", also it controls the visibilities on door panels.

Here is the thread, http://www.revitcity.com/downloads.php?action=view&object_id=11969

Hope that may provide some ideas.


This user is offline

 

Wed, Sep 25, 2013 at 2:19:56 AM | mattjfrank

#8

dingohot


active
dingohot Avatar

Joined: Mon, Mar 15, 2010
199 Posts
3.5 Stars: 5 Votes


Quoting mattjfrank from 2013-08-26 11:52:32

"

brettgoodchild-

This is great, but I'm curious if it's possible to do this with three options?

Here's the scenerio:

I have three visibility parameters created (justify right, justify left, centered), if one is checked the other two need to deselect.

So I set the first (Justify Right) to     =not(and(or(Justify Left, Centered)))

which works perfectly. If either Justify Left or Centered is checked it is deselected.

Now the problem is getting the other two to cooperate.

My first inclination was to write another similar formula for Justify Left =not(and(or(Justify Right, Centered))).

I receive a circular error script.

 

My next inclination was to simply write  Justify Left=not(Centered), which Revit accepts, but then Justify Right is lost in the loop.

 

Any ideas???

 

Thank you in advance!!

"

make one more parameter of types (ex: 1=left, 2=right, 3=center..)

and give formulas at the rest..like

left=type=1

right=type=2

center=type=3

then you can change all parameters just with type parameter.


-----------------------------------

want more?

You can get more tips at Enjoy Revit

This user is offline

View Website

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Mystery parameters - shared?

Community >> Newbies

Tue, Nov 10, 2015 at 7:06:20 AM

1

Titleblock Parameters [ 1 2 ]

Revit Building >> Technical Support

Thu, Mar 13, 2014 at 4:57:53 PM

17

Instance Parameters in titleblock not linking

Revit Building >> Technical Support

Wed, Dec 28, 2011 at 10:31:23 AM

12

Shared or Project Parameters?

Revit Structure >> Technical Support

Tue, Jan 19, 2010 at 7:01:11 PM

10

Shared Parameters - Schedules multiple parameters one column?

Revit Structure >> Technical Support

Thu, Oct 4, 2012 at 7:10:20 AM

7

Site Stats

Members:

1990951

Objects:

22877

Forum Posts:

152184

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: 1.5593

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights