Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

# Thread: Revit - Inconsistent Units and how to neutralize them.

1. Yup, Like after 1/2 hour of playing around with other calculated value types, that is exactly what I came up with. Thanks a Heap!!!!!

2. ## Great help with Voodoo error.

This worked great for me. I understand that Revit doesn't know what I'm trying to do. The feeling is mutual. Multiplying a Number variable (cost per unit length, for me) by a Length variable caused the error. Solved by bracketing the Number and dividing it by 1. Thanks!

3. Thanks for the explanation. I was unable to use roundup in a length formula until I read your post.

4. Can anyone help me please? I key in the formula "width-((rounddown(width/100mm))*100mm)", but shown inconsistent units

5. Greatest help! Your explanation and examples were wonderful! Thank you for making our lives in Revit a lot easier!

6. Priceless buddy thanks.

7. Hi I am trying to make an universal scale for A1 and A3 - means if the view is 1 in 100 printed on A1 it is 1:100, 1:200 etc. but if it is printed on A3 it will be just the half or 1:200, 1:400. I am trying to use it in a formula which is looking like this - (Scale / 1 ) * 2
Unfortunately it comes with Improper use of boolean expression. The only time it doesn't come with the error is when the parameter is set to Text, which means the Scale parameter in Revit is not a number for some reason. Any ideas about a solution?

8. The expression you give isn't a valid Boolean expression. It also uses a statement ( x / 1) which will always result to x (at least in this universe).

A boolean using a similar expression would be: = (Scale / 100) * 2 > 3
This statement would resolve to TRUE for Scale=200, and would resolve to FALSE for Scale=100

It's a little confusing, but the '=' for the formula statement doesn't quite mean 'equals'; it's more the programming concept of 'result'.

eg, if you want to set ALL booleans for a particular value in a Family with heaps of Types to FALSE, you can enter a formula of = (1 = 2) which resolves to = FALSE

You'll need to make Types of your Detail Item or Symbol or Titleblock (whichever method you're using) that set the scales manually with unique text for each scale, all set by manual on/off Booleans.

Unfortunately you can't make a family element react to the Scale of the view it is placed in. While you can make a 'symbol' that will scale to always be a certain size on the printed page; which is probably exactly what you're trying to do - you can't embed text into the Symbol that reacts intelligently to the host view scale. Don't worry; every Revit professional has tried to do exactly this (an 'intelligent' scale bar - pretty bloody obvious thing to want on a drawing, by the way) for the past 15 years. It has been an item on the wishlist for that long as well - I certainly entered it in 2005, 2006, 2007, then gave up once I realised Autodesk aren't listening. (Except they listened to the doofus who wanted wiggly lines, I mean WTF?)

Page 3 of 3 First 123

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•