RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> Parametric Formula: Need help

Search this ThreadSearch this Thread | Page 1 of 1 |

Thu, Jan 29, 2009 at 6:23:26 PM | Parametric Formula: Need help

#1

Recit


active

Joined: Mon, Oct 30, 2006
25 Posts
No Rating


 

Parametric Formula:

 

Those of you who have mastered the parametric formulas I need your help.

 

I have a component that needs to be controlled by a parametric formula.

 

The array should work per the below parameters:

 

If Width = 1’ to 4’, then 2

If Width = 4’-1” to 8’, then 3

If Width = 8’-1” to 12’, then 4

If Width = 12’-1” to 16’, then 5

If Width = 16’-1” to 20’, then 6

If Width > 20’-1” then 7 (close)

 

I have done other parametric formulas for other components, but for some reason I was not able to make this one work well so far. Thanks in advance.

 


This user is offline

 

Thu, Jan 29, 2009 at 9:16:56 PM | Parametric Formula: Need help

#2

brettgoodchild


active
brettgoodchild Avatar

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


What exactly are you trying to do?

 

There might be an easier way to go about this if we knew what you were trying to do in the family, but an if statement requires you to have an "else" condition in it: If (this), Then (This), Else (This), and I'm not really seeing how you could set these parameters up using if statements.

I know you can write more than one if statement into a single formula but then the if statements will become conditional on each other.

An example that might be similar is I had to create a large tank family used for holding alloys and stuff. Inside the tank was a divider that had spacers in it and if the width adjusted, the spacer count had to change.

 

What I did was create the spacer as a nested family (easier to control,) arrayed it and then wrote an equation to control the spacer count by telling Revit how many spaces it needed.

 

The same could be done for a window. If I want the window to have three lights then it needs 2 mullions.

So you would have to also write an equation to say that Mullion Count = Light Count -1.

Then apply the mullion count parameter to the Array.

 

Sorry I can't give you the exact formulas right now, but if you would like them just send me an email and I can give you the exact one I wrote when I get to the office. I'll send you a screen shot of the Family Types so you can just see all I wrote for it.

On a related note, watch out when controlling an array count with a formula as they have a tendency to keep adding members outside of your family. You can also control in the equation.

 

Sorry for all the gibberish, I hope you are able to make some sense out of this mess.

 

brett.goodchild@saic.com


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

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

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Graphic Scale: parametric formula and text?

Revit Building >> Technical Support

Thu, Jul 19, 2012 at 9:51:57 AM

3

parametric formula problem

Revit Building >> Technical Support

Mon, Sep 22, 2008 at 3:22:56 AM

3

Parametric Open Web Joist Family

Revit Structure >> Technical Support

Wed, Oct 24, 2012 at 3:46:30 PM

2

Door Formula for schedules?

Revit Building >> Technical Support

Fri, Aug 10, 2007 at 8:44:24 AM

1

Using schedule total in formula?

Revit Building >> Technical Support

Fri, Apr 4, 2014 at 10:29:50 AM

9

Site Stats

Members:

2056202

Objects:

23069

Forum Posts:

152281

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights