Searching for parts

You can search for parts among the EGL projects in your workspace.

This search returns part definitions and references; it does not search your project for a text match to a string. For a textual search of your project, click Search > File.

To search for a list of available parts, follow these steps:
  1. From the main menu, click Search > EGL. The Search window opens to the EGL Search tab.

    If you do not see Search > EGL, click Search > Search and switch to the EGL Search tab.

  2. Type the criteria for the search in the Search string field. You can use the following wildcard symbols in your search:
    • A question mark (?) represents any one character
    • An asterisk (*) represents a series of any characters of any length

    For example, type my?Part to locate parts named "my1Part" and "my2Part", but not "my10Part". Type my*Part to locate parts named "my1Part", "my2Part", and "my10Part".

    Click the Case sensitive check box for a case-sensitive search.
  3. In the Search For section, select the type of part you are searching for, or select Any element to expand your search to all part types.
  4. In the Limit To section, select the option to limit your search to part declarations, part references, or any occurrence of the search string.
  5. In the Scope section, select where to search:
    Workspace
    Searches the current workspace.
    Selected resources
    Searches the resources currently selected in the Project Explorer view or other view.
    Enclosing projects
    Searches the project or projects that contain the files selected in the Project Explorer view or other view.
    Working set
    Searches a set of projects, called a working set. Click Choose to select the working sets to search.
  6. Click Search. The results are displayed in the Search view.
  7. If you double-click a file in the Search view, the file opens in the EGL editor, and the matching part is highlighted. If there is more than one match in the file, the first match is highlighted.

    Arrows in the left margin of the editor indicate the locations of each matching part.


Feedback