How to Create New Filter Parameters in Revit
Filters are commonly used in Revit to control the visibility of elements. However, sometimes the parameters you need for filtering are not available by default. Using beams as an example, this guide will show you how to add custom parameters to use in filters.
1. Start by creating a new project and placing a beam inside. Open the Visibility/Graphic Overrides dialog, switch to the Filters tab, click Add, and name the filter Beam Filter. Suppose you want to filter beams whose height exceeds 800mm. When you check the filter conditions, you may notice that the beam height parameter (h) is not available. At this point, you need to add a new parameter yourself, as illustrated below.
2. Edit the beam family by clicking Edit Family. In the Family Types dialog, add a new parameter called h1. Be sure to make this a shared parameter, then click OK to confirm. See the image for reference.
3. Set a formula for the h1 parameter to make it equal to the original height parameter h. This ensures that h1 reflects the beam height. The formula setup is shown below.
4. Reload the modified beam family back into your project. Now, when you open the filter conditions, you will find the new h1 parameter available. Set your filtering rule to highlight beams with height over 800mm and assign different colors for easy distinction. This completes the beam height filter, which will visually differentiate beams exceeding 800mm, as shown in the image.
Summary: Filters are essential in the modeling process, especially in electromechanical modeling, to manage the visibility of different components efficiently. This tutorial demonstrates how to create a filter by adding new shared parameters to components when the existing parameters are insufficient for filtering purposes.
Related Skills:
Adding Shared Parameters, Creating Schedules, and Filters in Revit















Must log in before commenting!
Sign Up