How to set Family Type parameter to “None”

While I was creating a simple furniture object with nested families, I wanted to control the visibility or availability of one or both of the nested families – in this case the hanging bars.

Family Type None - 2

The most obvious solution would be using a Yes/No parameter that is linked to the Visible parameter of the single objects, like in illustration below.

Family Type None - 1

This doesn’t sound logical: first choose a family type for the front bar that refers to one of my nesting families, loaded in the main family, and then switching it off using “Bar Front Visible”, no? Maybe it’s that small “programmer’s” part of my mind that doesn’t like this solution. In fact I would like to see a choice in my dropdown list that says “None”. Something like this maybe?

Family Type None - 3

How did I get the “None” entry in the list? Well, just make a copy of your other nested family and delete all geometry (or at least make it invisible). Load the dummy “None” family into your main family, and you’re done.

Family Type None - 4

Although, be aware when using this solution. As many things in Revit, it works when you keep in mind next rules:

  • When you align the nested family in the main family, make sure you use the named reference planes (Left, Top, Back, …) of your nested family.
  • In the “None” family, only delete the solid geometries, but not the reference planes, certainly not the named ones like Left, Top, … (see rule above).
  • When parameters from your nested family are linked into your main family (i.e. Materials), than be sure this parameter is also available in your “None” family, even if it’s not consumed by any geometry. Otherwise the link will break.

It’s quite a simple and silly looking solution, but I hope you enjoy it 🙂

Advertisement

1 thought on “How to set Family Type parameter to “None”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s