Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

"Inconsistent Untis" error when creating range based formula parameter

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
rsmothers11493
547 Aufrufe, 4 Antworten

"Inconsistent Untis" error when creating range based formula parameter

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

 

 

4 ANTWORTEN 4
Nachricht 2 von 5
barthbradley
als Antwort auf: rsmothers11493
Nachricht 3 von 5
rsmothers11493
als Antwort auf: barthbradley

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. 

Nachricht 4 von 5
barthbradley
als Antwort auf: rsmothers11493

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

Nachricht 5 von 5
Alfredo_Medina
als Antwort auf: rsmothers11493

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report