About Editing View Filters

This topic explains the concepts that you need to understand before you begin editing view filters.

This page discusses:

You can define or edit the visual filters by selecting the elements directly in the work area and also with the help of a shortcut toolbar. Use the Restore Show State option, the Visualization Chooser, an immersive dialog box, and the Edit Filter dialog box to edit a filter.

Note the following points for selecting the elements when defining or editing a filter:

  • If you select one or several elements, which are not yet included in the filter, they are automatically added to the filter (in a standard visualization for display filters or hidden for mask filters). Auto copy is available only for the first selection. If you select an element that is already filtered, the properties are displayed in the shortcut toolbar and the auto copy of the property stops.
  • If you select at least one element that belongs to the filter, or the current visual property, no object is added to the filter. And the shortcut toolbar displays the overloaded properties of all the selected elements.
  • If you select elements not yet added to a filter, all the properties that are possible with the filter are available in the shortcut toolbar. Activating one of them adds that element in the filter.
    • Display filter: Nonfiltered elements are hidden until at least one of the visual properties is activated.
    • Mask filter: Nonfiltered elements display normally until at least one of the visual properties is activated.

Note: When several elements are selected (by trap selection in the 3D area or by pressing Shift while selecting in the tree), and they do not share the same selected property:
  • The corresponding property appears as undefined (icon appears with a question mark) in the shortcut toolbar.
  • Clicking on an undefined icon restores the default value of the visual property.

Shortcut Toolbar

The shortcut toolbar appears near the pointer when you select one or several elements in the location plan view, in the associated 3D view, or in the tree. You can modify the following visual properties using this shortcut toolbar:

  • Modify Visibility: This property is available for display filters. It shows the selected elements in the view.
  • Modify Visibility/ : This property is available for mask filters. It hides the selection, and clears all other properties.
  • Modify Color: Select this option to displays all the elements in low intensity in the view and deactivates the display or the mask property. By default, this property is deactivated.
Note: The same visualization properties are available in the Filtered Elements list in the Edit Filter dialog box.

The shortcut toolbar provides the following functions:

  • If you select one or several elements that part of the visual filter yet, they are automatically added to the visual filter (visible for display filters or hidden for mask filters).
  • If you select elements where at least one belongs to the visual filter, no object is added to the visual filter. The shortcut toolbar displays the overloaded properties of all elements of the selection. With heterogeneous selections, some properties can be undefined.
  • When you modify the properties of the selected element through the shortcut toolbar, they are memorized to be applied to the next selections. It also allows you to copy the selected property and apply it to the next selection. Clicking in an empty area or interacting with the Edit Filter dialog box stops the auto copy on the selections and displays the visual properties of the next selections.

Immersive Dialog Box

The immersive dialog box appears when you define or edit a filter. It displays the name of the filter and allows you to change it if required.

Edit Filter Dialog Box

The Edit Filter dialog box contains:

  • The list of object filters: You can select one or several elements using the object filters.

    You can reorder the list of object filters by dropping a row to the required position in the list. The visualization of the 2D and 3D area is based on the first object filter till the last one. Changing the order modifies the 2D and 3D area scenes.

    The objects filters list contains:

    • Run filters: It appears when at least one object filter needs to be replayed, or when you request to replay the object filter. It replays the queries defined by the object filters of the list that have not yet been executed. This enables retrieving the objects they defined and which are already saved.
    • Rows representing the object filters: Each row of the list is considered as a set of filtered objects and it contains the following columns:
      • The icon representing the object filter.
      • The name of the object filter.
      • The number of elements contained in this object filter: (N/A) indicates that the filter is not related to the current product context.
      • Update: Updates the filter. It is available when you explicitly request an update or when you add a filter but do not execute it.
      • Visual properties: The same visual properties are available as that of the shortcut toolbar, except the undefined state.
      • Remove element: Removes the corresponding object filter from the list and all selected elements of the list. The visual filter is updated accordingly.
  • Click here to retrieve filters related to your context: Retrieves the object filters related to the current product context. When clicked, it opens the Search - Filters related to XXX dialog box. You can select the filters from this dialog box that are added to the object filters list.
  • The list of filtered elements: It is composed of:
    • A header line with various sorting options:
      • Sort filtered elements by type of element
      • Sort filtered elements by alphabetical order: Ascending (A to Z) and descending (Z to A).
      • Sort filtered elements by visibility: Ascending (elements with the visual property activated first and the others) and descending (elements with the visual property deactivated, and the others)
      • Sort filtered elements by color
      • Sort unpickable and pickable filtered elements
      • Sort uncut and cut filtered elements
    • Rows representing filtered elements: Each row contains the following columns:
      • The icon representing the type of element.
      • The name of the element.
      • Visual properties: The same visual properties are available as that of the shortcut toolbar, except the undefined state.
      • Remove element: Removes the corresponding element from the list and all selected elements of the list. The visual filter is updated accordingly.
  • A label displaying the number of selected elements and the number of selected object filters. When no object filter and no element filtered are selected, it displays No element selected.
  • A check box allowing tilling the 3D area and 2D tabs.

    When this check box is selected:

    • The 3D area and 2D tabs are tiled whenever you start defining or editing a filter.
    • The 3D area is reframed on the geometry.
    • The 2D layout tab is restored according to the selected Tile section when activating Layout option in the Me > Preferences > App Preferences > 3D Modeling > Mechanical Systems > 2D Layout for 3D Design > Layout section, under Layout Widget, after editing or defining the filters.

Using the Edit filter dialog box you can:

  • Modify the visual properties of the selected elements in the same way as with the shortcut toolbar.
  • Remove the elements from the filter.
  • Get a visual feedback: When you select a filtered element in the 3D area, the corresponding row in the filtered element list is highlighted (but not in the object filters list). Conversely, if you select a row in the filtered element list, the corresponding filtered element in the 3D area is highlighted. The entire scene appears in white half transparent, and the element appears highlighted in blue. Also, if you select a row in the object filters list, the elements returned by the object filter are highlighted. However, if that object filter is never run, then in that case, no element in the 3D area is highlighted.

Lists in the Edit Filter Dialog Box

You can select one or several rows in the lists by pressing Ctrl or Shift.

  • When one or several elements or object filters are selected, the 3D area scene appears in white and half transparent. The selected elements are highlighted.
  • When a visual property is modified on a selected element, the same value is applied to all the other selected elements of that list.
  • When one or several elements are selected in a list, the shortcut toolbar is hidden. In this case, you can perform the modifications of properties through the lists.
  • You can reframe on an element of the filtered elements list by selecting the row, right-clicking it and selecting Reframe on selected elements.

The following operations are available in Undo/Redo:

  • Modifying a visual property of one or several elements.
  • Removing one or several rows from one of the two lists.

Restore Show State

The Restore Show State button appears when editing the filter, if some elements that must be displayed by the visual filter are in no show mode. Click Restore Show State to permanently restore the show state of elements visualized through the visual filter.

Notes:
  • Restore Show State only switches the visibility of elements contained in the visual filter.
  • If an element of the visual filter is not displayed because one of its parent components not contained in the visual filter is not visible, activating the Restore Show State does not make the element appear.