Revit TotD – 3.26.09: “Inconsistent Units”!!!!!


Be honest, how many of you have received this error when working on parameter formulas?¬† Yeah… wait.¬† I only see my hand up.¬† Be honest, it’s ok.¬† I’d be willing to bet that anyone that has dealt in complex parameter formulas have received this error at one point in time.

Well, here’s the solution.¬† Remember back in physics when they taught you about unit conversion?¬† Remember how you had to cancel out units by using (ft/ft = 1) or something similar to that?¬† Well that’s exactly how this work.¬† All you have to do is either multiply or divide by 1.¬† Sometimes it’s not as simple as that if the conversion is a bit more difficult.¬† The point is that if you work out the unit conversion before you do the formula you’re good to go.¬† Simple as that.¬† Here’s a video of how it works.

Example of how some corrected formulas would look.

It is important to notice that Revit auto fills the units in most formulas that you correct this way.¬† Angle parameters are one formula type that it will not auto-correct if the formula is too complicated.¬† This means it will be necessary to add the unit symbol or abbreviation when Revit does not auto correct this. Keep playing, it’ll work… I promise!

Enjoy and see you tomorrow!

-Carl