Is there an "append" feature to Revit formulas?

Is there an "append" feature to Revit formulas?

Jonathan.Trostad
Advocate Advocate
403 Views
1 Reply
Message 1 of 2

Is there an "append" feature to Revit formulas?

Jonathan.Trostad
Advocate
Advocate

So I have this formula that is big (word says it's 64 words long). But it is essentially a repeating "if box is checked, add these characters to the front of the text"

so imagine  If(and([box], text = "Text1"), "char/Text1", If(and([box], text = "Text2"), "char/Text2", 

And so on.

What I would like is: If(and([box], text = "Text1"  "Text2"  etc, "char/whichever text"

 

is there a short way like that, or do I need to figure out ever possible iteration and add them all in?

 

Thanks for any help!

0 Likes
404 Views
1 Reply
Reply (1)
Message 2 of 2

barthbradley
Consultant
Consultant

and statement = and (Param1, Param2)

 

if/and statement = if(and (Param1, Param2), value if true, value if false) 

 

https://www.revitforum.org/tutorials-tips-tricks/1046-revit-formulas-everyday-usage.html

0 Likes