RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> 'Inconsistent units" error in parameter formula; length vs integer

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Feb 26, 2013 at 6:41:16 PM | 'Inconsistent units" error in parameter formula; length vs integer

#1

enmaso


active

Joined: Tue, Jan 19, 2010
2 Posts
No Rating


Hey All,

Im on REVIT2013.

I have this formula that I have written based on the parameter unit type; length vs integer.

Can someone help in "neutralizing the units", so I dont get the inconsistent error? Neutralizing requires dividing or multiplying a parameter by 1. I have treid a dozen options with no success.

(Length - (Length * Integer)) / Length) * Integer = Integer

or aka

(Row Length-(Aisle Width * # of Aisles) / Seat Width) * Rows = Seat Count

 

Thanks

Erik


This user is offline

 

Tue, Feb 26, 2013 at 7:03:53 PM | 'Inconsistent units" error in parameter formula; length vs integer

#2

alfmedina


active
alfmedina Avatar

Joined: Wed, Sep 26, 2007
162 Posts
4 Stars: 7 Votes


Since the result is an integer, each one of the length parameters in the formula need to be (Length/1') if it is imperial units, or (Length/1m), for example, if it is metric.


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

Planta1 Revit Online Consulting | info@planta1.com

This user is offline

View Website

Tue, Feb 26, 2013 at 8:28:27 PM | 'Inconsistent units" error in parameter formula; length vs integer

#3

enmaso


active

Joined: Tue, Jan 19, 2010
2 Posts
No Rating


Thanks.

I got it to work as such.

(((Row Length / 1) - ((Aisle Width / 1) * (# of Aisles / 1))) / (Seat Width / 1)) * (Rows / 1) = Seats 

in normal language the intent of the simple equation is such ...

(Row Length-(Aisle Width * # of Aisles) / Seat Width) * Rows = Seats


This user is offline

 

Tue, Feb 26, 2013 at 8:38:55 PM | 'Inconsistent units" error in parameter formula; length vs integer

#4

alfmedina


active
alfmedina Avatar

Joined: Wed, Sep 26, 2007
162 Posts
4 Stars: 7 Votes


Glad it worked, but it seems to me that you are simply dividing everything by 1 without thinking of the units. Why did you divide by 1 also the integer parameters if the result is an integer?


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

Planta1 Revit Online Consulting | info@planta1.com

This user is offline

View Website

Fri, Dec 13, 2013 at 10:21:09 PM | 'Inconsistent units" error in parameter formula; length vs integer

#5

Gehrys


active

Joined: Wed, Jul 4, 2012
5 Posts
No Rating


So im trying to get a result of Amps from the Volts and Watts parameters.  Ive tried to neutralize the units with " (Watts / 1) / Volts " but still get the inconsistent units error.

Any ideas?

PS - I know the image shows watts * volts which is wrong, but still wont run the formula.



Edited on: Fri, Dec 13, 2013 at 10:30:35 PM

Attached Images

126944_units.jpg

This user is offline

 

Sat, Dec 14, 2013 at 4:37:04 AM | 'Inconsistent units" error in parameter formula; length vs integer

#6

Gehrys


active

Joined: Wed, Jul 4, 2012
5 Posts
No Rating


Ok, got it.....

(Watts / 1A) / (Volts / 1A)


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Inconsistent units

Revit Building >> Technical Support

Wed, Aug 11, 2010 at 1:17:26 PM

2

Inconsistent units workaround

Community >> The Studio

Wed, Jun 22, 2005 at 12:52:54 PM

0

Parameter Formulas

Revit Building >> Technical Support

Wed, Dec 21, 2005 at 8:02:46 PM

3

The Bane of Formulas - Inconsistent Units

Revit Building >> Technical Support

Wed, Jul 2, 2014 at 9:39:36 PM

2

Array Formula error

Revit Building >> Technical Support

Thu, Jul 3, 2008 at 10:23:08 PM

1

Site Stats

Members:

1443334

Objects:

20770

Forum Posts:

150861

Job Listings:

6

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights