Searching for Components using the Explorer Panel in Altium Designer
Altium Designer's Explorer panel, in conjunction with your managed content server, caters for powerful searching functionality, with respect to your managed components. You can either perform generic-level searching, or targeted searching through the use of saved search configurations. The latter allow you to search by a particular component type and also use ranged searching - a nice aspect of searching facilitated through unit-aware component parameter data types (supported through a referenced component template). Additionally, you can add a keyboard shortcut to your saved searches that allows you to quickly perform a search from wherever you are within the Explorer panel.
Prerequisites for Search
Related pages: Managed Components, Managed Component Templates
To be able to fully appreciate and use all aspects of the component search functionality within the Explorer panel, you need to meet the following requirements:
- Be running Altium Designer and ensure the Component Template Editor and Explorer extensions are installed as part of that installation.
- Be using a managed content server to store your managed components.
- If you have not already created your components with referenced component templates - delivering the support for unit-aware component parameter data types - you will need to edit and re-release them. This can be achieved by:
- Editing a Component Item, to access its definition in a temporary instance of the Component Editor.
- Creating and releasing a component template (CMPT) with:
- Default revisions of Symbol and primary Footprint Items (as already used for the component).
- The Default Value for the ComponentType system parameter set accordingly (e.g. Resistors, if editing a generic resistor). A variety of predefined component types are available, with the ability to create new ones where needed.
- Component parameters defined that match all component parameters currently defined for the component (in this way, the existing values will be kept, while not duplicating any parameters).
- For relevant parameters (e.g. Value, Tolerance, Power, etc.), set the data type accordingly - thus making those parameters unit-aware. A number of unit-aware component parameter data types are supported.
- Assigning this component template to the component being edited (from the Template field under Advanced Settings, when using the Component Editor in its Single Component Editing mode, or from the Add » Templates sub-menu associated to the Required Models/Parameters region, when using the Component Editor in its Batch Component Editing mode.
- Tweaking the values of any parameters that are shown in red (i.e. value not valid, or marked as required, but not yet defined).
- Commiting the component to the server, into the next revision of the Component Item.
Accessing the Search Facility
The interface for the search facility - the Search view - is accessed through the Explorer panel by clicking the Search tab at the bottom-left of the panel.
Generic Search
This is standard-type searching. It provides a single search field for entry of search strings. Enter a search string and press Enter.
Creating a Saved Search
To create a new saved search, right-click in the Saved Searches region and choose New from the context menu. The New Search dialog will appear, in which to define the search.
Use the dialog to:
- Give the search a meaningful name (e.g. Resistors).
- Define an optional keyboard shortcut for quick access to the search (populate the field by clicking inside it, then performing the required shortcut on the keyboard).
- Choose the specific component types to be targeted in the search. All currently defined types are listed on the Component Types drop-down menu and any number of types can be enabled.
- Use the Parameters region to configure search parameters as required. Only those parameters detected for the enabled component type(s) will be listed. For each parameter, the following three options can be defined:
- Show Filter - enable to show a corresponding filter field for the parameter, above the search results region of the Search view. It is through such a field that you can fine-tune your searches, based on value criteria stipulated for that parameter.
- Default Visibility - enable to have a column for the parameter presented by default in the search results region of the Search view. Columns for parametric data can be hidden, or made visible at any stage, directly from the view.
- Default Value - use this field to constrain use of a parameter to a particular value, or range.
- If you want any user of your managed content server to see and use your saved search, leave the Public option enabled. If you want the search private to only yourself, disable this option.
With the search defined as required, click the Add button. The search will be saved as an entry under Generic Search in the Saved Searches region of the view.
Applying a Saved Search
A saved search can be applied in the following ways:
- After clicking Add for a newly defined search, or Save after modifications to an existing search, the search will be automatically applied.
- Select the search in the Saved Searches region, then press Enter.
- Use the assigned shortcut to switch to the required saved search, then press Enter.
- Double-click on the entry for the saved search.
Filtering of components will be performed based on the defined search criteria, and the results presented in the corresponding results region.
If any parameters have their option to Show Filter enabled, as part of the applied saved search, dedicated fields for those parameters will be available above the results list.
For those parameters whose filter fields are shown:
- If the parameter has a default value specified as part of the search, its field will initially be prefilled with that value, and that value will be applied when the search itself is applied.
- A new value (specific or ranged) can be specified for the parameter by direct entry in the field.
Make any adjustments as necessary and press Enter to apply the revised filtering.
Editing a Saved Search
To modify an existing saved search, select it in the Saved Searches region, right-click and choose Edit from the context menu. The Edit: [<SavedSearchName>] dialog will appear, from where to make any changes t
o the search as required.Once changes have been made, click the Save button - the search will be applied in accordance with its new settings.
Deleting a Saved Search
To remove an existing saved search, select it in the Saved Searches region, right-click and choose Delete from the context menu. Click Yes in the subsequent confirmation dialog - the search will be removed from the listing of saved searches.