Parent page: Working with Panels
The SCH Filter panel allows you to construct filters through the creation of logical queries. A defined filter can then be applied to the active schematic document or all open schematic documents, allowing you to select and edit multiple objects with greater accuracy and efficiency.
The panel can be accessed in the following ways:
The first region of the panel contains controls for defining the scope of the filter:
The Limit search to area provides controls to further refine the scope of the filter:
The Consider objects in drop-down field allows you to control where the filter is applied. Choose from the following options:
The central region of the panel allows you to construct filters through the entry of logical queries. You can type a query directly into the field. As you type, a prompt list of possible keywords will appear as an aid.
The Query Helper is available to provide aid in the creation of queries. This function can be very useful if you are unsure of the syntax of a query or the possible keywords that you may want to use. To use the Query Helper, click the Helper button to open the Query Helper dialog. The underlying Query Engine analyzes the document and lists all available objects along with generic keywords for use in queries.
Use the top section of the dialog to compose a query expression, using the available SCH Functions and System Functions. The middle section of the dialog provides a range of operators for use when constructing an expression. Use the Check Syntax button to verify that an expression is syntactically correct.
When the expression for the query has been defined as required, clicking OK will load the central region of the SCH Filter panel with the query, ready to apply the filter.
As you enter and apply a new query, it will be added to a query history list. Click the History button in order to access this list - the Expression Manager dialog will open with the History tab active.
To use an historical query from the list, either select its entry then click on the Apply Expression button or double-click on the entry directly. The dialog will close and the expression for the query will be loaded into the central region of the SCH Filter panel.
An historical query can be added to the list of favorite queries by selecting its entry then clicking the Add To Favorites button. Use the Clear History button if you want to 'flush' the history list. Up to nine most recently used query expressions from the list will be available for use from the panel's right-click menu.
Any defined query may be added to a list of favorite queries in two ways:
Click the Favorites button in the SCH Filter panel in order to access this list. The Expression Manager dialog will open with the Favorites tab active.
To use a favorite query from the list, either select its entry and click on the Apply Expression button or double-click on the entry directly. The dialog will close and the expression for the query will be loaded into the central region of the SCH Filter panel.
When a query expression is added to the favorites list, it is assigned a unique name. By default, a generic name is assigned -
Favorite_n - where
n is the next available unused number. The name for an entry can be changed at any stage by using one of the following methods:
In each case, type the new name as required and click outside the Name field to effect the change.
To remove a query from the favorites list, select its entry in the list then either click on the Remove button or choose the Remove command from the right-click menu. A dialog will appear requesting confirmation of the removal. Up to ten most recently added query expressions to the list will be available for use from the top of the panel's right-click menu.
Before application of the query, it is best to define how you want the result of the filtering to appear visually in the design workspace. The Objects passing/not passing the filter regions of the panel provides various options that collectively form the highlight controls for permanent filtering.
The options available in the Objects passing the filter area allow you to control the visual display in the workspace of all objects that fall under the scope and match the specific query expression of the filter:
The options available in the Objects not passing the filter area allow you to control the visual display in the workspace of all objects that do not fall under the scope and/or do not match the specific query expression of the filter:
Any combination of these options can be enabled. For example, you might want to have all filtered objects that fall under the scope of your query to be zoomed, centered and selected in the design editor window, while also applying masking to take away the clutter of other design objects.
Once you have defined your query and set up the options in the panel as required, the filter can be applied - either by clicking the Apply button or pressing Enter.
To clear the currently-applied filter from within the panel, clear the entry for the query expression in the panel then either click the Apply button or press Enter. All objects in the design workspace will become fully visible and available for selection/editing.
Right-clicking within the SCH Filter panel provides access to additional options and commands via a pop-up menu.
The menu provides the following commands:
^, *, /, Div, Mod, And
+, -, Or, Xor
=, <>, <, >, <=, >=