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: 

error in logarithm parameter

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
Mahmoud_A
527 Aufrufe, 4 Antworten

error in logarithm parameter

Dear all

when i create log parameter in this family then apply . i see this message

any one can help me???1.JPG2.JPG

4 ANTWORTEN 4
Nachricht 2 von 5
ToanDN
als Antwort auf: Mahmoud_A

Because the Air Flow value for that type is 0.  You need to enter some value for it.

 

Or change the formula to: if(Liner Flow > 0, log(Liner Flow), 0)

 

Capture.PNG

Nachricht 3 von 5
Mahmoud_A
als Antwort auf: ToanDN

Dear, ToanDN

Thank You

 

formula working good,,but changing the value of Air flow not working.

 

Thanks again

1.JPG

Nachricht 4 von 5
chrisplyler
als Antwort auf: Mahmoud_A

Changing airflow to a positive value DID work. At least for the 2-slot type. If you read that error you'll see that it's now for one of the 3-slot types. You can keep correcting the values, but it's going to keep throwing an error on the next type until you've corrected all of them.

 

It is best to solve the formula problem so that it handles the zero airflow condition without error anyway. Even if you set default values for airflow of all the types, somebody somewhere can set the value to 0 in a project and it's going to break and show the user one of those "I can't make this family, and I'm not telling you why, you dummy!" error message.

Nachricht 5 von 5
ToanDN
als Antwort auf: Mahmoud_A

@Mahmoud_A

 

Use the alternate formula I gave you in the earlier post and in the revised family to take care of all the zero Air Flow conditions.

Here it is again:

 

if(Air Flow > 0, log(Liner Flow), 0)

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