Autodesk Revit MEP
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Text formula
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Text formula
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
Re: Text formula
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thank you. I will be able to figure out a work around for this it will just require a few more parameters to do what I need to do.
