I am trying to have an "if" statement put out a text string that needs to have an Inch Mark (") shown. How would I do this in the following statement:
if([14" Wide Side Lt], "14" TEMP. SIDE LT.", "12" TEMP. SIDE LT.")
The "inch marks are shown at the 14 and 12 in the example above, but this will not work in Revit Parameters Formula section.
Any help would be appreciated.
Thanks,
John
Gelöst! Gehe zur Lösung
Gelöst von Alfredo_Medina. Gehe zur Lösung
Assuming that 14" TEMP. SIDE LT is a yes/no parameter, the formula for the text parameter should be set to:
if([14" Wide Side Lt], "14\" TEMP. SIDE LT.", "12\" TEMP. SIDE LT.")
Basically, add a back slash before the quote mark in the formula to make the output display the quote mark.
@Alfredo_Medina wrote:
Basically, add a back slash before the quote mark in the formula to make the output display the quote mark.
I had no idea about this rule. Thanks!
Do you by any chance know how to enter m2 (square meter) in a formula?
m Alt 0178
m²
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.