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 >> Tips & Tricks >> Yes/No Parameter Formula to switch between Multiple Family Types

Search this ThreadSearch this Thread | Page 1 of 1 |

Sun, Jan 29, 2012 at 3:41:06 AM | Yes/No Parameter Formula to switch between Multiple Family Types

#1

designimpressions


active

Joined: Fri, Jun 6, 2008
47 Posts
No Rating


Original Thread:

 

"Hi,

 

I have created a door family with 3no. Options using Yes/No parameters to determine which option displays at any one time. Each Option is referenced to an 'Integer' parameter which I named "Choose Option". The Options are 1, 2 and 3. As an option is selected the the Yes/No box checks accordingly making so only that option visible. This is all working fine.

 

What I want to achieve is to limit the options to 1 - 3 or cause any numbers other than 1 - 3 to return a value of 1 or 3. To resolve this I created an additional Integer parameter and input the following formula: "if(Choose Option < 1, 1, if(Choose Option > 3, 3, Choose Option))". This works in controlling the parameter numbers e.g. if I select '0' the option returns to 1 or if I select '4' the option returns to 3. but this parameter is not connected to the original option so is working independently with no affect to the family.

 

Can anyone tell me how I would connect the parameter if at all possible or give me an alternative work around please. I have attached an image for refererence.

 

Thanks,

Peter"

 

Solution:

 

The following are three possible solutions:

 

A, Use an If Statement Formula

[Image Insert Failed]

 

B, Use a Less Than, greater Than Formula

 [Image Insert Failed]

 

C, Use a Less Than, Greater Than Formula with an Or Statement

[Image Insert Failed]

 



Edited on: Sun, Jan 29, 2012 at 9:34:36 AM

This user is offline

 

Sun, Jan 29, 2012 at 3:41:51 AM | Yes/No Parameter Formula to switch between Multiple Family Types

#2

designimpressions


active

Joined: Fri, Jun 6, 2008
47 Posts
No Rating


I can't upload images to complete this Thread, I've tried Chrome, IE and Mozilla. 



Edited on: Sun, Jan 29, 2012 at 4:01:44 AM

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Family types - conditional statement

Revit Systems >> Technical Support

Mon, Apr 18, 2011 at 3:59:50 PM

4

One family parameter has formula one has none

General Discussion >> Revit Project Management

Wed, Jun 25, 2014 at 1:05:54 PM

7

<Family Type> parameter can't be controlled by formula. What else can we do? [ 1 2 ]

Revit Systems >> Technical Support

Tue, Aug 27, 2013 at 3:53:53 AM

29

Grouping multiple families types with multiple options

Revit Building >> Technical Support

Mon, Jun 11, 2012 at 3:50:19 PM

6

Referencing a Shared Parameter in a Family parameter formula.

General Discussion >> Revit Project Management

Thu, Jan 29, 2015 at 1:26:24 PM

4

Site Stats

Members:

2056535

Objects:

23074

Forum Posts:

152325

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights