• Home
  • CADnotes Store
    • AutoCAD Block Best Practices
    • Document Management with AutoCAD Sheet Set
  • Write for CADnotes
  • Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy
  • Bahasa IndonesiaBahasa Indonesia

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial

How to Control Family Element Visibility with Parameter

June 3, 2018 by Edwin Prakoso Leave a Comment

Sometimes Revit families look familiar one to another. We can control the families using parameters and create another type. Using dimension to manage the family size is the most common practice. You can have one family, and it can have different sizes.

What about visibility? For example, you want to have a sofa with the back but also sofa without a back. Do we have to create two families? No, you can have one family and create two different types. (Confused about family types? Read this reference: Create Family Types.

Let’s learn how to do it.

Working with Revit Family

We are going to create two family types like below. You can use your own family, or download the file here. This family was built with Revit 2018. If you use an older version then you need to use your own file.

Advertisement - Article continues below

Open the family.

Select the sofa back (1). Then click the button on the right side of the Visible parameter.

Adding Yes/No Parameter

To enable you controlling the visibility using a parameter, you need to link this property to a parameter. We don’t have a parameter yet, so we need to create one. Click New Parameter button.

In the Parameter Properties, check these settings:

  1. Parameter Type is Family Parameter.
  2. Parameter Name is “With Back”
  3. The parameter is a Type parameter.
  4. Optional: Change the group parameter to under General group.

Click OK to close Parameter Properties dialog. Click OK again to close Associate Family Parameter dialog.

Creating the Family Type

The last step is to create the Family Type. Click the Family Types button.

In the Family Type dialog, click New Type.

Revit asks for the type name. Type With Back and click OK.

Make sure the With Back option is checked.

Repeat the steps:

  1. Click New Type, give the type name Without Back
  2. Make sure the option is unchecked.

Click OK.

Testing the Family

In Family Types dialog, change the type then click Apply. You should see the sofa back disappear.

If you don’t see the visibility changes, check the view settings. Make sure Preview Visibility is On.

Try to load it to a project and try to place different types in your project.

To Sum Up

You can use parameters to control element visibility in your family. This control allows you to create fewer families. Personally, I hate to have multiple families when I can have only one. It means when we need to update or modify the family, we only need to do it once.

In what kind of family do you think you can use this visibility parameter? Share with us!

About Edwin Prakoso

I work as an Application Engineer in Jakarta, Indonesia. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and also active in Autodesk discussion forum.
I'm an Autodesk Certified Professional (ACP) for Revit Architecture and AutoCAD. I'm also a member of Autodesk Expert Elite, appreciation for individuals who give contribution to Autodesk community.
Connect with me on twitter or LinkedIn

Filed Under: Revit

Leave a Reply

avatar
wpdiscuz_captcharefresh
avatar
wpdiscuz_captcharefresh

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of

Advertisement

Featured

5 Reasons Why You Should Use AutoCAD Block (Infographics)

Here are the reasons why you should use AutoCAD blocks. If you haven’t used it, this perhaps can encourage you.

AutoCAD 35 Under 35 Young Designers

The Misterious TCase case

Advertisement

Get Connected


Meet the Authors

© 2009 – 2019 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz