RevitCity.com Logo

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

Welcome !

567 Users Online (16 Members): Show Users Online - Most ever was 3914 - Wed, Aug 26, 2026 at 4:53:14 AM

 

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

Whishlist top 20

General Discussion >> Wishlist

Mon, Aug 21, 2006 at 1:50:33 AM

1

Create.NewFamilyInstance isn't displaying a new family on sheet

Community >> Newbies

Mon, May 9, 2011 at 1:06:22 PM

0

Revit 2016 Annotative Demo Tag Formula

Revit Building >> Technical Support

Tue, Apr 26, 2016 at 5:56:03 PM

9

RevDev Studios - RevEx and RevXL - Spreadsheet plugins for Revit

Workflow & Implementation >> API & Third Party Apps

Tue, Feb 28, 2017 at 7:32:28 AM

0

Modelling terrain Revit imported from AutoCad

General Discussion >> Revit Project Management

Thu, Oct 20, 2011 at 9:29:49 AM

0

Site Stats

Members:

2182749

Objects:

23399

Forum Posts:

152370

Job Listings:

0

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.9486

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights