Invalid Formula Error

Invalid Formula Error

hakan.supurkeci
Explorer Explorer
709 Views
5 Replies
Message 1 of 6

Invalid Formula Error

hakan.supurkeci
Explorer
Explorer

Hello,

 

I am having a problem with Family. I cannot update any formulas or add new formulas. When I try to perform these operations, it gives an "Invalid Formula" error.
What could be the reason for this?

 

Best regards,
Hakan

0 Likes
710 Views
5 Replies
Replies (5)
Message 2 of 6

Tom_Kunsman
Collaborator
Collaborator

What version of revit? And please post the family. 

What are you trying to do with the formula in the family?

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 3 of 6

hakan.supurkeci
Explorer
Explorer

Hello,

 

In all versions, when I create a new parameter, I cannot enter anything into it. No matter what I enter, it says invalid formula. I'm giving an example, I first noticed this in this section, in the formula here
if(Upwards, "KX-UV", if(Downward, "KX-DV", if(Rightwards, "KX-RH", if(Leftward, "KX-LH", "НЕТ"))))

This formula works in other families as well. I started getting this error only when I came here and tried to make "KX-II-UV" NOT "KX-UV". Even if I delete the entire formula and type "test", it still gives an error.

0 Likes
Message 4 of 6

Alfredo_Medina
Mentor
Mentor

"Invalid formula" usually occurs when you have types in a family and one of the values is invalid for one of the types. The problem may not have anything to do with the formula that you're writing nor the current type. It might be another parameter in another type. Check all other types and see if all their default values make sense.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Message 5 of 6

ToanDN
Consultant
Consultant

Share the family here.

0 Likes
Message 6 of 6

barthbradley
Consultant
Consultant

Use Brackets around values.  

 

[value]