yes/no in IF statement

yes/no in IF statement

arkitek2ss
Collaborator Collaborator
577 Views
3 Replies
Message 1 of 4

yes/no in IF statement

arkitek2ss
Collaborator
Collaborator

need a little help.  I have an operable wall that I can show the wall open or closed.  where I am having trouble is I'm trying to show 2 passage doors in different positions along the wall.  trying to figure out the formula so that if the panel_vis is on, I have the options to turn door1 on or off as well as door2, but obviously when the panel_vis is off, both doors are off.  

 

 PanelVis.png

 

 

any ideas?

 

thank you.

0 Likes
578 Views
3 Replies
Replies (3)
Message 2 of 4

barthbradley
Consultant
Consultant

PassageDoorVis1=if(Panel_Vis, Not(PassageDoorVis2),PassageDoorVis2)

 

where Panel_Vis is assigned to visibility parameter for PassageDoorVis2

0 Likes
Message 3 of 4

barthbradley
Consultant
Consultant

@barthbradley wrote:

 

 

where Panel_Vis is assigned to visibility parameter for PassageDoorVis2


 

should read: "where Panel_Vis is assigned to visibility parameter for Passage Door 2" 

0 Likes
Message 4 of 4

arkitek2ss
Collaborator
Collaborator

barthbradley,

not was i was looking for BUT this is how I got it to work.

PanelVis correct.png

added 2 extra parameters.

0 Likes