yes no Parameters for text visability

yes no Parameters for text visability

ftimpanoC3K6J
Contributor Contributor
47 Views
2 Replies
Message 1 of 3

yes no Parameters for text visability

ftimpanoC3K6J
Contributor
Contributor

Hi All, 

 

Im trying to make a formula for the visibility of this font to be on if the balcony sqft parameter has a value to it but i keep getting an error, what is wrong in my formula? Screenshot 2025-09-18 123312.jpg

0 Likes
48 Views
2 Replies
Replies (2)
Message 2 of 3

mhiserZFHXS
Advisor
Advisor

You need to do a little research on Revit formulas. See the link below. 

 

https://help.autodesk.com/view/RVT/2025/ENU/?guid=GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20

 

Basically, for an if statement it is if(the condition , <result if true> <result if false>

 

However, you are doing this for a yes/no parameter, so there are only two possible results by default, either yes (checked) or no (unchecked). So you don't actually need to use an if statement as it is redundant. All you need to do for the formula is type the condition you want for box to be checked. So just:

 

BALCONY SQFT > 1

 

That's it. If the balcony is larger than that, the box will check. 

Message 3 of 3

RDAOU
Mentor
Mentor

@ftimpanoC3K6J 

 

if(BALCONY SQFT > 1, 2>1, 1>2)

 

in the screenshot you posted it appears to be a Text Parameter...BALCONY SQFT parameter type needs to be NOT TEXT, in your case make sure it is an area

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes