Search filters can be named and saved as queries for future use. The list of existing queries is displayed in the Query list of the Project Explorer.
You can use a saved query in two ways:
- To highlight the set of elements: Double click the name of the query to execute it instantly. The matching objects are highlighted.
- To isolate a set of elements: Turn the light bulb on (click on it). Only the matching objects are displayed. Objects that do not match the criteria are hidden. No model objects are highlighted and existing markings are not affected. Turning the light bulb off displays all elements of the model.
Each time a saved query is executed, the complete model is searched again and a new search result is displayed.
Note: If you change the object properties while the search results are displayed, the results will not be updated until the search is executed again.
Modify Saved Queries
Saved queries can be modified:
- Change the name of a query.
- Modify the search criteria.
Modify the Search Criteria of a Saved Query
- In the Project Explorer, right click on the query to modify it.
- Select Properties from the contextual menu.
The Search Filter dialog box appears.
- Change the search criteria as desired.
- Click Save to update the properties of the saved query.
- Click OK to close the dialog box.
Note: Changing the criteria and clicking OK without clicking Save does not modify the query.
Group Elements by Certain Criteria
- In the Project Explorer, click
(create new query).
- In the Search and mark dialog box select the desired criteria.
- Click Save.
- In the dialog box, enter the name of the query.
- The query is created and appears in the Project Explorer
Delete a Query
- In the Project Explorer, right-click the query.
- Select Delete query from the contextual menu.