|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
44 Users Online (43 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
|
|
active
Joined: Mon, Jan 18, 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 |
|
|
|
active
Joined: Wed, Sep 26, 2007
162 Posts
|
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
|
|
active
Joined: Mon, Jan 18, 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 |
|
|
active
Joined: Wed, Sep 26, 2007
162 Posts
|
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
|
|
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
|
This user is offline |
|
|
active
Joined: Wed, Jul 4, 2012
5 Posts No Rating |
Ok, got it.....
(Watts / 1A) / (Volts / 1A)
|
This user is offline |
|
|
|
Similar Threads |
Inconsistent units |
Revit Building >> Technical Support
|
Wed, Aug 11, 2010 at 8:17:26 AM
|
2
|
Inconsistent units workaround |
Community >> The Studio
|
Wed, Jun 22, 2005 at 7:52:54 AM
|
0
|
Parameter Formulas |
Revit Building >> Technical Support
|
Wed, Dec 21, 2005 at 2:02:46 PM
|
3
|
The Bane of Formulas - Inconsistent Units |
Revit Building >> Technical Support
|
Wed, Jul 2, 2014 at 4:39:36 PM
|
2
|
Array Formula error |
Revit Building >> Technical Support
|
Thu, Jul 3, 2008 at 5:23:08 PM
|
1
|
|
|
Site Stats
Members: | 2056530 | Objects: | 23074 | Forum Posts: | 152325 | Job Listings: | 3 |
|