Control Visibility of 3 Yes/No Parameters

Control Visibility of 3 Yes/No Parameters

Kev_D
Collaborator Collaborator
8,740 Views
23 Replies
Message 1 of 24

Control Visibility of 3 Yes/No Parameters

Kev_D
Collaborator
Collaborator

Hey

I have created a Door Family which has 3 different door panels applied. Type A = Door Flush Panel, Type B = Door Panel with 1 Glazed Panel, and Type C = Door Panel with 2 Glazed Panels. I have created types for each (A, B & C) and the visibility is turned off on the 3 types that are not being used. So when A is being used the other two are turned off (but have to be turned off manually). Is there a formula to use to turn off two visibilities automatically when one is switched on. I am aware of the not(parameter) to control 2 visibilities, but how do you control 3?

0 Likes
Accepted solutions (2)
8,741 Views
23 Replies
Replies (23)
Message 21 of 24

ToanDN
Consultant
Consultant

@Kev_D wrote:

Somethin doesn't add up here. If I don't load the 3 panels into the family, how can I assign the different panels to the different family types. 


I didn't say not loading all nested families in, I said not inserting all of them in the model.  The nested families and types need to present in the family browser, but only one needs to physically be placed in the model.

0 Likes
Message 22 of 24

Kev_D
Collaborator
Collaborator

@ToanDN

Right I get what you are saying. I did not work with these parameter types yet, and now it all makes sense. However, this will not work in my case. I have 3 different types. Like you said, only 1 is loaded into the model space but the 3 are in the family file (I now know what you meant). I then assigned the label  to each family type. I then assigned the model space panel to the label. Each panel is locked to a reference line which allows a door opening angle. When the family type is changed these can not stay locked. If there was no opening angle assigned to the family, it would work perfect, but I require the ability to have an openable angle.

 

Other than that, it all works great.

0 Likes
Message 23 of 24

ToanDN
Consultant
Consultant

Try this one.  The 3D panels all swing properly without breaking anything.

 

 

 

 

0 Likes
Message 24 of 24

Kev_D
Collaborator
Collaborator
Accepted solution

@ToanDN

Thank you so much. I have realized what you did with the introduction of another reference line and locked the 90deg angle. This can now be the setting for the next few doors in the library. Thank you for your time.

 

As this topic changed from what the original question was, which is a better solution for me, I have found a workaround for controlling multiple yes/no parameters. You still have to input the integer, but it saves you unchecking parameters when you want to only have on checked.

http://whilesyncing.blogspot.ca/2015/11/controlling-multiple-yesno-parameters.html

0 Likes