RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Systems >> Technical Support >> Need help with Summing yes/no parameters

Search this ThreadSearch this Thread | Page 1 of 1 |

Fri, May 9, 2008 at 3:15:46 PM | Need help with Summing yes/no parameters

#1

AVSteve


active

Joined: Mon, Mar 17, 2008
19 Posts
No Rating


I need some help understanding conditional statements.  My desire is to have a parameter that will return the integer number of certain other parameters that are checked as 'yes'.  In other words, this summing parameters will return '3' when I have three of the five yes/no parameters checked as 'yes', then of course, when only one is checked as ‘yes’ it will return ‘1’. Any ideas?

Thank you for any help with this.

 

AVSteve 


This user is offline

 

Fri, May 9, 2008 at 3:44:08 PM | Need help with Summing yes/no parameters

#2

AVSteve


active

Joined: Mon, Mar 17, 2008
19 Posts
No Rating


I just solved my own problem, with the help of google of course.

My example:

Up Throw = Yes

Down throw = Yes

Left Throw = Yes

Right Throw = Yes

 THEN

Throw = 4 = (if(Up Throw, 1, 0)) + (if(Down Throw, 1, 0)) + (if(Right Throw, 1, 0)) + (if(Left Throw, 1, 0))

AND

Up Throw = No

Down throw = Yes

Left Throw = Yes

Right Throw = Yes

THEN

Throw = 3 = (if(Up Throw, 1, 0))+ (if(Down Throw, 1, 0)) + (if(Right Throw, 1, 0)) + (if(Left Throw, 1, 0))

AND SO ON….

I hope this will help someone!

Edited on: Fri, May 9, 2008 at 3:44:49 PM

Edited on: Fri, May 9, 2008 at 3:46:14 PM

This user is offline

 

Fri, May 9, 2008 at 4:42:56 PM | Need help with Summing yes/no parameters

#3

mhans


active

Joined: Tue, Nov 7, 2006
456 Posts
3 Stars: 10 Votes


Hi,

Thanks for sharing your problem and solution. You should do that more often.

Mhans 


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

Motto: "No Post left behind"

This user is offline

 

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:

2048083

Objects:

23053

Forum Posts:

152305

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights