Finding and Selecting in General Mode

The General mode lets you run quick searches in your current session if you are looking for a specific property. You can then select the search results in the tree and in the 3D area.

Find... is different from the Search field in the top bar that lets you run searches in the database, and filter search results using Tags.

This task shows you how to:


Before you begin:
  • You can open multiple Find dialog boxes at the same time.
  • If the Select command is active before selecting Find, it remains active.
  • Find... does not prevent you from running other commands on the search results (once selected). This means that you can:
    • Run commands using menus and icons.
    • Apply contextual commands to selected search results using the power input field. For example, you can manipulate selected tree elements using c:center on, c:center tree, or c:cut.

Run a Quick Search for a Named Object

You can search for an object by its name.

  1. Press Ctrl + F.

    Tip: Depending on your app, you can also click Find and Select from the Selection section of the action bar.

  2. In the Find dialog box, click the General tab.
  3. Enter the name that you want to search for in the Name field, for example sketch*.
    Searching using the object name is particularly useful if you have renamed objects in the Feature Properties tab, or through the Properties shortcut menu. The list below Name stores the names that you entered in previous searches, so that you can select them. The names are stored when the session is active.
    Important:
    • The search mechanism is based on the tree. As the tree shows only product instances (except for the root product that is a reference), you cannot search for part numbers. This means that the value you enter in the Name field is searched in instance names only.
    • The search for topology uses specific processes to improve performance for the most time-consuming queries. Therefore, the performance does not always depend on the scope size.
  4. Optional: To search for a name as displayed in the tree, select As displayed in tree.

    This can be useful, for exemple, if you customized the display in Me > Preferences > Common Preferences > User Interface > Tree > Display Name Customization.

    For more information on the search syntax, see Searching by Name in the Tree with the Search Language.

    By default, this option is cleared, which means that you perform a standard search on the object name. For more information on the search syntax, see Searching by Name with the Search Language.

  5. Click the appropriate option to run the search.
    OptionDescription

    Find

    Runs the search without selecting elements. In that case, click Select afterward to select the results.

    Find and Select

    Runs the search and automatically selects the objects that have been found.

    If several elements with the same name are found, whatever their type, a warning message is displayed.

    A query is also generated in the Query list, and the elements are preselected in the 3D area.

  6. In the search results lists, perform the appropriate action.
    ActionDescription
    Click a column header Sorts the search results alphabetically.
    Click an element in the result list Preselects the element in the 3D area and in the tree.
    Double-click an element in the result list Edits the element. For example, double-clicking an element of type "Pad" opens the Pad Definition dialog box to let you modify its parameters.
  7. Optional: Click the down arrow to display the Query list.
    The Query list displays the search query formulated in the search language. You can use this language for searching without using Find and Select .

    Previous search queries are also displayed. Selecting a query from the list executes the search with the same criteria and the same scope. Queries are stored across sessions because they are saved in a CATPreference file.

    Tips:
    • You can use the search language in power input mode. The object found is directly selected.
    • You can use the asterisk * as a wildcard. For example, entering sketch* selects all objects whose names begin with the character string sketch.

Use the Navigation Options

You can browse the search results using the navigation options.

  1. In the Find dialog box, enter a query.
  2. Click Find .

    If the number of search results exceeds the value specified in the Maximum Displayed Results option, the search results are not all displayed on the same page.

  3. Browse the search results using the appropriate navigation options.
    OptionDescription
    Displays the first result page.
    Displays the last result page.
    Displays the previous result page.
    Displays the next result page.
    Display all Displays all the results on the same page.

Run a Quick Search for a Color

You can search for the color of an object as defined in its graphic properties.

Before you begin: When you apply basic and custom colors to elements, and search for elements using these colors, a search query is generated. But for custom colors, the RGB value is used instead of the color name. This is useful, for example, if you modify your color palette (by deleting the custom color, or the color options file in your options folder), then retrieve a search query.

Because the query references the RGB values of the color and not the color name, changes made to the color palette do not affect the search. The search always finds elements referencing a color expressed using RGB values. The names of the basic colors, however, remain the same.

  1. In the Color list, select From Element.
    An acquisition agent is activated and the Find dialog box disappears.
  2. In the 3D area, click the object whose color you want to search.
  3. In the Find dialog box, click Find .

    Important:
    • Clicking in the 3D area means that the pixel color is used to perform the search. Clicking in the tree means that the search uses the color displayed in the object's graphic properties. Whichever method you choose, Find... uses the color defined in the graphic properties. Therefore, if you click an object in the 3D area, the search result might not be as expected.
    • Find... does not take inheritance into account. Therefore, when searching for a product with a specific color, the search might return a result that seems to have a color different from the color you specified. The reason is that, for Assembly objects, the color you see is not always the color that has been applied. For more information, see Graphic Properties.

  4. Optional: Instead of selecting a color in the 3D area, select a color in the Color list.

    By default, * appears in the Color list. This means that the search runs on elements of any color.

    The first color in the list corresponds to the last selected color.

    When you access the list for the first time, there is no last selected color, and the first color in the list is White. Therefore, you see two "white" colors in the list but the first color corresponds to *. In this case, selecting the first white color amounts to selecting *.

  5. Click Find .
    Only objects with the color you specified are found.

Run a Quick Search for a Type

You can search for a specific object type.

  1. Select the package of your choice in the App list, and a type in the Type list.

    Tips:
    • If you enter only the first few characters of an object type, then press Enter, the system automatically displays the full type name. If several types contain the same characters, then the first name containing these characters is displayed.
    • The object type is not necessarily the name that you see in the tree.
    • If an object has several types, a random type is returned.

  2. Optional: If you select From Element in the Type list, an acquisition agent is activated and you can then select a type in the 3D area. If you do not want to select an object, click Close to stop the agent.

    If search results are not as expected when using From Element to select an object in the 3D area, this is because there is a difference in the object when clicked in the tree and in the 3D area. To fix this, select objects in the tree when using From Element.

  3. In the Color list, select From Element, and then select an element in the 3D area, or in the tree.
  4. Click Find .

Run More Advanced Searching Using More...

You can search for a specific graphic property.

  1. In the General tab, click More....
    More... changes to Less... and additional properties are available.
  2. Define the General and Line properties that you want to search for.

    The Line, Point, and Layer properties are identical to those available in the Object Properties panel.

    You can also specify a visibility criterion. For more information about visible and hidden elements, see Hiding and Showing Objects.

  3. Click Find .
  4. Click Less... to display the original Find dialog box.

Search Using a Specific Search Scope

You can specify a search scope to refine your search.

  1. In the Find dialog box, click the General tab.
  2. Enter *1 in the Name list.
  3. Specify the search scope in the Look list.
  4. Click Find .
    Only objects included in the specified search scope are found.
    Tip: When the object is selected in the search result list, you can also right-click and select Center Tree, or Center view.