Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

# Thread: If statement with "Yes" "no" parameter

1. ## If statement with "Yes" "no" parameter

Ok, i'm building this ladder family & I'm trying to add a visibility parameter to my last rung. It should only be shown if "Remaining Height At Bottom" is less than 6" (see image below). My formulae is not working & I am frustrated alot...

Please see image... Any help is greatly appreciated...

2. Ok Just got it reading revit help... both the condition and the results are implied...

(Remaining Height At Bottom < 0' 6")

3. Originally Posted by jean_francois_nant
Ok Just got it reading revit help... both the condition and the results are implied...

(Remaining Height At Bottom < 0' 6")
How have I missed something that simple all this time

4. Yeah its not very clear in the syntax help for Yes/No parameters, but you dont need the If(...
I often use 1=0 (A statement that is clearly not true) in the family editor, to set Yes/No parameters to off for all types.

5. And if you need to force yes/no you can do it like this:
Yes = true = 2>1
No = false = 1>2

if(Remaining Height At Bottom < 0' 6", 2>1, 1>2) would work, it just is more complex.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•