• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy
  • Bahasa 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
You are here: Home / Revit / How to Control Family Element Visibility with Parameter

How to Control Family Element Visibility with Parameter

June 3, 2018 by Edwin Prakoso 3 Comments

In this Article...

  • Working with Revit Family
  • Adding Yes/No Parameter
  • Creating the Family Type
  • Testing the Family
  • To Sum Up

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.

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 a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: Revit

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

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

3 Comments
Inline Feedbacks
View all comments
Horn
Horn
2 years ago

Can this visibility toggle work in an annotation parameter?

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  Horn
2 years ago

Did you mean 2D annotation family? Yes, you can use it in 2D families as well.

0
Reply
Adrian P. Aleluya
Adrian P. Aleluya
5 years ago

Thanks. Very useful bro.

0
Reply
wpdiscuz   wpDiscuz

Featured

30 Tips and Tricks to Work Better with Revit

Revit is pretty straightforward to use. But it doesn’t mean that we can’t find something new to increase our productivity. Either you are new to Revit, or already use it for years, there are always new things we can learn!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

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

wpDiscuz