How to control a check box in a revit family with another check box

How to control a check box in a revit family with another check box

Jrooker06
Collaborator Collaborator
5,231 Views
4 Replies
Message 1 of 5

How to control a check box in a revit family with another check box

Jrooker06
Collaborator
Collaborator

How can I control a check box with a if/and formula in a revit family using another check box? 

 

Example: I would have (4) Yes/No check boxes in the family (Switch 1, Switch 2, Blue, Yellow). When I check the box Switch 1, I want it to check the Yellow box and uncheck the Blue box. When I check Switch 2, I want it to check the Blue box and uncheck the Yellow box. 

0 Likes
5,232 Views
4 Replies
Replies (4)
Message 2 of 5

PavelAnd
Advisor
Advisor

Hi @Jrooker06. You needn't 2 switch checkboxes. Just write not(Blue) to Yellow formula.

2p.gif

Or use one switch checkbox.

3p.gif


Don't use if in formulas. Write only conditions. See example below.

ex.gif

Best regards, Pavel Plotitsyn.

Message 3 of 5

Mohamed-Nassar
Collaborator
Collaborator

Boolean parameter

----------------------------------------------------------------------------------
If the above reply answers your question; Please mark it with ACCEPT SOLUTION
----------------------------------------------------------------------------------

Mohamed Nassar , ACP, Autodesk Ambassador Gold
BIM Support / Structure Modeler
0 Likes
Message 4 of 5

amarkonathala
Advocate
Advocate

amarkonathala_0-1617453043019.png

Follow The Above  Condition It might helps 

Thank you

0 Likes
Message 5 of 5

jfuller9K7VX
Explorer
Explorer
Hi,
Is it possible to still use the Check1 & Check2 controls but enable the colour yes/no for selection (so the Check1 & Check2 are grey & the colours are selectable)
Thanks
0 Likes