I have been trying to get this to work:
if(Offset = "Left", 1'-0", if(Offset = "Right", 3'-0", if(Offset = "Center", 2'-0", 2'-0")))
Offset is a text parameter, I am apply this formula to a length parameter. Revit tells me "Improper use of boolean expression" I have also tried using commas instead of equals signs and when I do that Revit tells me "Bad IF-statement format. It should be IF(<boolean>, <result-if-true>, <result-if-false>)." Can someone please tell me what I am doing wrong?
Solved! Go to Solution.
You're not doing anything wrong - Revit does not understand or permit a Text parameter to be used in a conditional statement. There is A LOT of improvement needed with the formulas. I would be happy to help you find workarounds if you wish! I've had to do so many times myself...
⁞|⁞ Please use the .Accept as Solution and Give Kudos functions as appropriate to further enhance the value of these forums. Thank you! ───────────────────────────────────────────────────────────────────────────────────────────