Yes/No Visibility Parameter Formula

Yes/No Visibility Parameter Formula

G00369758
Participant Participant
796 Views
6 Replies
Message 1 of 7

Yes/No Visibility Parameter Formula

G00369758
Participant
Participant

I am trying to control the visibility of a vision panel in an unequal doorset family depending on the width one leaf according to building regulations.

The formula I am trying to use is if(Leaf2Width<450,0,1) and im getting the error 'Inconsistent Units'

What am I doing wrong?

0 Likes
Accepted solutions (1)
797 Views
6 Replies
Replies (6)
Message 2 of 7

barthbradley
Consultant
Consultant
Accepted solution

if(Leaf2Width<450,1>2,1<2)

0 Likes
Message 3 of 7

G00369758
Participant
Participant

That worked, thank you!

'not(Leaf2Width<450)' also works 

0 Likes
Message 4 of 7

G00369758
Participant
Participant

Is it possible to make another yes/no parameter which will override that formula?

0 Likes
Message 5 of 7

barthbradley
Consultant
Consultant

override how?  Give me an example.

0 Likes
Message 6 of 7

G00369758
Participant
Participant

I figured it out, if(Leaf2W<450,1>2,VisionPanelOverride)

It allows me to have multiple types within the family with or without vision panels, if I want vision panels it will only allow them on leafs >450mm wide, if I don't want them I can override that formula and it will allow leafs over 450mm without them.

 

0 Likes
Message 7 of 7

Mike.FORM
Advisor
Advisor

for yes/no parameters, they are setup differently than other types when it comes to 'if' statements. 

You only require indicating what you are testing since a yes/no parameter has the true/false outcome built into the parameter type.

 

This means your formula only needs to be --> "Leaf2Width<450"

If this is true the parameter is checked and if not it is not checked.

0 Likes