"Inconsistent Untis" error when creating range based formula parameter

"Inconsistent Untis" error when creating range based formula parameter

rsmothers11493
Explorer Explorer
1,114 Views
4 Replies
Message 1 of 5

"Inconsistent Untis" error when creating range based formula parameter

rsmothers11493
Explorer
Explorer

Trying to create an angle based family with ranges of angles. Every time I enter the formula it gives me "Inconsistent Units". I have tried the dividing by 1 and it does not fix.  Any suggestions?

 

Formula : if (cal_Angle < cal_Min_Angle, cal_Min_Angle, if (cal_Angle > cal_Max_Angle, cal_Max_Angle, cal_Angle))

 

Image:

rsmothers11493_0-1603898059232.png

 

 

0 Likes
1,115 Views
4 Replies
Replies (4)
Message 3 of 5

rsmothers11493
Explorer
Explorer

Thanks for the suggestion. I have looked at these pages and actually this formula is based on that page of useful formulas. I have tried neutralizing it but this has no affect the error continues. 

0 Likes
Message 4 of 5

barthbradley
Consultant
Consultant

Post the file. I'll beat 'em into submission.  

0 Likes
Message 5 of 5

Alfredo_Medina
Mentor
Mentor

In your picture, the error message is hiding the value of "Angle". We can assume it is 115. But, is it 115 or 115°? in other words, is it merely a number or is it a degree?

It seems to me that it is a number, and that is why Revit says "inconsistent units" when you try to Apply changes; because you are dividing "Angle" by 2 and expecting that to be converted into the proper units for cal_Angle which is expecting a value in angles.

There isn't anything wrong with the long formula; the problem is in the short formula for cal_Angle. Therefore, the solution is this: For the cal_Angle parameter, enter this in the formula column: (Angle / 2) * 1°


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes