Creating Element Filters

Related Articles: Intro to Element Filters

In this article, we will demonstrate several examples to show you the options available for creating Element Filters.


With the release of Element Filters, you will notice that the software no longer ships with the Show/Hide/Isolate buttons on the ribbon. Instead, the software ships with pre-built Element Filters that replace this functionality. Though these are already provided, they provide a good opportunity to walk through the creation of a filter.

Example #1 - Building the "Hide" Element Filter

First, you will want to select the categories you want this filter to apply to. It is always easiest to start small, so you might start by just selecting one category so that you can be sure that your filter works before applying other categories. In the example below, you will see that we have only selected the MEP Fabrication Pipework category.

Next, click on the "Rules" tab and start to build your rule. Be sure to click on the "Add Condition" button to create your first condition in the rule set.

Your first option in the condition is to select a parameter.

If you do not see any parameters or if you only see a few then this is because you have selected multiple categories and the parameter you are looking for may not exist in all categories you selected.
To correct this, go back and reduce the number of categories you are building this rule for. *You will be able to add the other categories back later. You can also manually type in the parameter name if you know it, but it must be exact.

Next, select your operator. The most common operator is "Contains" as you only have to type in partial matches. However, in this one, we are going to enable the user to select the pipe or duct to set this value for the rule so we are going to use "is equal to".

Input type offers a few options:

  • Constant Value: You will type in the criteria in the Value field. For example, if we are searching for chilled water you might use the "contains" operator, "constant value" input type and CHW in your value field.
  • Prompt for Value: This option will force a dialog in front of the user for the Value to be used. If you type something in the Value field of the rule, then the text is used in the dialog's prompt or in the Revit status bar, depending on the Input Type option.
  • Compare to Parameter: Use this to look for true false matches of two parameters.
  • Single Element Selection: When the rule is activated, you are only allowed to select one element in the model then the rule acts on that object. For example, you might want to select all objects that match the same service type or service abbreviation so your rule would ask the user to select one object and find all matches in the model.
  • Multiple Element Selection: Since we want to duplicate the old Hide button functionality, we need our rule to allow us to pick multiple objects. This setting allows us to pick objects on different services and will apply a Hide action on all elements with the same service abbreviation as the objects we have selected.

To finish the rule, the Value field will be completed. Since we are using selection as our input type, the text in the Value field is used in the user prompt when the rule is used.

Lastly, you we will click the options tab and apply a default action to the rule. Your options are:

  • Select Action: This is the default action which forces the user to select what action to apply at the time the rule is activated. If "Default Filter Action" is not selected this will be the action used.
  • Select: Select the elements so that you can run any eVolve or Revit command on the selected objects
  • Isolate: Isolates the elements in the current view
  • Isolate (Temporary): Creates a new temporary view and isolates the elements
  • Show: Shows previously hidden elements in the current view
  • Hide: Hides the elements from the current view
  • Make Halftone: Applies halftone to the selected elements
  • Make Transparent: Applies transparency to the selected elements

For this rule, we simply set the default action to "Hide".

To use this rule, activate the rule and select any element(s) which have service abbreviation parameters and all objects in the view with matching service abbreviations will hide when you click "Finish"

Example #2 - Building an Element Filter with User Prompt

In this example, we have created a rule which searches for any fabrication hanger or generic model (upper attachments) elements and it is searching service names based on user input. The default action is set to Select.

This is what it looks like when activated:

If you click OK without entering any text in the input box, then it will select all hangers and generic models

How did we do?

Powered by HelpDocs (opens in a new tab)

Powered by HelpDocs (opens in a new tab)