RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> Parameter Formula

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Apr 3, 2007 at 5:19:23 PM | Parameter Formula

#1

willtriker


active

Joined: Fri, Jul 15, 2005
8 Posts
No Rating


Does anyone know how to enter a "yes/no" parameter into a formula?

This is what my formula looks like right now

if(A = yes, (B + C), B)

A is a yes/no parameter, but this formula won't work.


This user is offline

 

Tue, Apr 3, 2007 at 8:57:05 PM | Parameter Formula

#2

Dgodfrey


active

Joined: Mon, Jul 4, 2005
137 Posts
4 Stars: 4 Votes


if(A,true,false)

look up conditional statements in formulas under the help file.


This user is offline

 

Thu, Apr 5, 2007 at 8:16:19 AM | Parameter Formula

#3

Elmo


active

Joined: Mon, Jun 19, 2006
144 Posts
3.5 Stars: 4 Votes


if(A=1,(B+C),B)

 

When you want to represent a yes no parameter in a formula it is really simple.

 

Yes/On = 1

No/Off  = 0.


This user is offline

 

Thu, Mar 4, 2010 at 1:35:47 PM | Parameter Formula

#4

NicoV


active

Joined: Thu, Mar 4, 2010
5 Posts
No Rating


Hi,

 Can anyone help me with the following- I want my beams above my doors and windows to automaticly change the beam bearing surface.

for example: if my window is less than 199cm the bearing surface should be 25cm  -> if my window is 150cm  the bearing surface shoul be 25cm -> beam should be 25+150+25 beam = 200cm

if my window is less than 299cm but more than 199 the bearing surface should be 30cm  -> if my window is 250cm  the bearing surface shoul be 30cm -> beam should be 30+250+30 beam = 310cm 

if my window is less than 399cm but more than 299 the bearing surface should be 30cm  -> if my window is 350cm  the bearing surface shoul be 30cm -> beam should be 40+350+40 beam = 430cm 

 and so on..


This user is offline

 

Thu, Mar 4, 2010 at 3:29:04 PM | Parameter Formula

#5

WWHub


site moderator|||

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


If the beam is not in the window family, then it can't be done.  If they are in the window family, then set them relative to the top of the window/door.  No need for a formula.

This user is offline

 

Fri, Mar 5, 2010 at 11:37:20 AM | Parameter Formula

#6

NicoV


active

Joined: Thu, Mar 4, 2010
5 Posts
No Rating


mmm... still not working.. the beam obove the window has a standard bearing surface of 200 but it should change if the window gets larger..

so I repeat.. when the window is 199cm the bearing surface needs to be 25cm but when its more than 299 it should be 30 cm and so on..

can anyone help me? 


This user is offline

 

Fri, Mar 5, 2010 at 12:09:09 PM | Parameter Formula

#7

NicoV


active

Joined: Thu, Mar 4, 2010
5 Posts
No Rating


got it--

if(Width < 2999 mm, 200 mm, if(Width < 3999 mm, 300 mm, if(Width < 4999 mm, 400 mm, 400 mm))) 


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

One family parameter has formula one has none

General Discussion >> Revit Project Management

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

7

Formula - IF statement

Revit Building >> Technical Support

Wed, Oct 25, 2006 at 6:54:24 AM

0

Referencing a Shared Parameter in a Family parameter formula.

General Discussion >> Revit Project Management

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

4

Parameter names with dashes - problem with formula

Revit Building >> Technical Support

Tue, Aug 31, 2010 at 10:28:39 AM

4

Add 2 to Parameter Formula

Revit Building >> Technical Support

Fri, Nov 9, 2007 at 1:06:13 PM

3

Site Stats

Members:

2056327

Objects:

23069

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights