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: 

Is there an "append" feature to Revit formulas?

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Jonathan.Trostad
249 Aufrufe, 1 Antwort

Is there an "append" feature to Revit formulas?

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!

1 ANTWORT 1
Nachricht 2 von 2
barthbradley
als Antwort auf: Jonathan.Trostad

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

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