You can use a quick search to find an element by its name. A very simple and easy to use dialog is designed to perform a quick search. In this dialog, you just need to type a name of the element you are searching for and select, if it's a type, diagram, or element.

To open the Quick Find dialog, do one of the following


  • On the toolbar of the Containment, Diagrams, Inheritance, or Model Extensions tab, click .
  • On the main menu, click Edit > Quick Find.
  • Press Ctrl + Alt + F.
  • On the main toolbar, click the arrow nearby the  button and then select Quick Find.

Search results are displayed in the drop-down list, which opens when you start typing the search phrase. Click the element you need in this list or correct the search query to perform a new search. The element will be selected in the Containment tree on the Model Browser as well as on the active diagram, if the element has symbols on the active diagram.

The following table provides descriptions of the Quick Find dialog elements.

Dialog element name/image

Dialog element type

Description

Search for

Options group

  • Click Type to search only in types, that is, classes, interfaces, use cases, and others.
  • Click Diagram to search only in diagrams.
  • Click Any Element to search in all elements of your project.

Search By Name

Text box with a drop-down list

Type a phrase to search for in element names. See the search results in the drop-down list.

You may use wildcard characters (*,?) in your search phrase:

  • "*" substitutes any range of characters. So if your search phrase is "*dd", all the elements containing "dd" in their names can be found. For example, "Address" and "ThreadDeath".
  • "?" substitutes exactly one character. So if your search phrase is "?dd", only the elements with "dd" in their names starting from the second character can be found. For example, "Address". "ThreadDeath" cannot be found in this case, because it contains more than one character before the search phrase "dd".

Be sure the Match Text Anywhere command is unchecked when using wildcard characters!

Menu button

Click the button and customize search options.



Match Text Anywhere

  • To search for matching phrase in any part of the element name, click the command to add the check mark.
  • To explicitly search from the beginning of element name, click the command to remove the check mark.


Use Camel Case

  • To search for matching phrase typed in camel case, click the command to add the check mark.

  • To search for matching phrase typed in regular case, click the command to remove the check mark.

You can use camel case as follows:

  • Type only the first letters (either capitalized or not) of each word, for example, "and" or "AND" to find "Analysis and Design".
  • Type skipping spacers, for example, "cv3" to find "CV-3".
  • Perform partial search, for example, "ibd" to find SysML Internal Block diagram. Be sure the Match Text Anywhere command is checked!
MoreMenu buttonClick the button to load the next 100 matches. By default, the first 100 matches are shown in the dialog.

Previous

Next

Menu button

Available in the Tree view only.

Click to navigate to a previous or next result.

Alternatively, you can press the Shift + F3 keyboard shortcut to select the previous match or press F3 to select the next match.

Switch to Tree

Menu button

Click to switch from the List to Tree view.

Alternatively, press the Alt+B keyboard shortcut.

Apply Filter (Ctrl+Space)Check boxClick to clear the check box, if you need to remove the search scope filter. If you clear the Apply Filter check-box once, your selection is remembered for the next time.

Filter Options Filter Options

Menu button

Click the button and customize search scope filter options. Be sure the Apply Filter check box is selected!

Hide Uncommon Elements
Reduces the search results list by hiding uncommon elements, keeping elements such as Interface, Association Class, Class, and Component in the list.


Exclude Auxiliary Resources
Reduces the search results list by excluding elements marked as auxiliary. By default, elements in the standard/system profiles are marked as auxiliary. This option does not hide the following:

  • UML datatypes (placed under MagicDraw Profile) and UML2 Metamodel (placed under UML Standard profile) only for UML project.
  • UML2 Metamodel,  SysML value types, and stereotypes for SysML project.
  • Elements with <<ignoreAuxFilter>> stereotype applied and all its elements recursively. How to apply stereotype >>