Revit MEP Forum
Welcome to Autodesk’s Revit MEP Forums. Share your knowledge, ask questions, and explore popular Revit MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chamfer corners aren't perfectly round

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Mehdi.Kardehi
319 Views, 2 Replies

Chamfer corners aren't perfectly round

This formula is good by itself as a dimension calculator 

 

1.17 * sqrt(Designed Air Flow / 1.75 m/s)

 

but when I do this 

 

round(1.17 * sqrt(Designed Air Flow / 1.75 m/s))

 

I get inconsistent units error!!

 

any thoughts?

 

Regards,

M

2 REPLIES 2
Message 2 of 3
CoreyDaun
in reply to: Mehdi.Kardehi

The ROUND functions only work with unitless Number values, so you cannot directly round Air Velocity, Angle, or Length Parameters to name a few. The trick here is to strip the units before the ROUND function and then reapply the units at the end of the formula. Silly, I know...

 

= round((1.17 Hz * sqrt(Designed Air Flow / 1.75 m/s)) / 1 m/s) * 1 m/s

 

A simpler example of this would be:

 

= round(Length / 2)  (yields an error)

becomes

= round((Length / 2) / 1 mm) * 1 mm

(or you could just add the units to the "/2")

= round(Length / 2 mm) * 1 mm

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Message 3 of 3
Mehdi.Kardehi
in reply to: CoreyDaun

Thanks mate...I like the unit consitency check in Revit but in this case...it's just silly as you said;)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report