Previous Topic Next topic Print topic


Search Function in the AWM Model Editor

The model editor contains a built-in search function which can be used to find specific objects or attribute values within a model.

To run a search query on an open model:

  1. Click Edit > Find/Replace. Alternatively, press Ctrl + F or click Icon - Search in the Eclipse toolbar.

    This opens the Model Editor Search dialog box.


    Model search dialog
  2. In the Search String field, type the string to search for.
  3. Click OK.

See the table below for a description of all available search options and examples:

Search field or option Description Example
Search String Searches the model for a value which contains the specified text. Asterisks can be used for wildcard searches.
Note: Searching for "Env*" is a more restrictive search string than "Env", since "Env" is the same as "*Env*".
To find attribute values which contain "Env":
  1. In the Search String field, type Env.
  2. Click OK.

To find attribute values which start with "Env":

  1. In the Search String field, type Env*.
  2. Click OK.

To find attributes which contain references, for example "&Prop_Name":

  1. In the Search String field, type *&*.*.
  2. Click OK.
Case sensitive Whether the search should be case sensitive. Self-explanatory.
Search Scope Whether the whole model or only selected categories or objects, including all their underlying objects, should be searched. To only search within Element Types and Properties:
  1. Highlight the Element Types and Properties categories in the model.
  2. In the Search Scope group, click Editor Selection.

To only search within the Tool Descriptors category and its underlying objects:

  1. Highlight the Tool Descriptors category in the model.
  2. In the Search Scope group, click Editor Selection.
Search in Attributes and Relationships When unchecked, it limits the search within object IDs. When checked, it searches within all objects and attributes. To find objects which contain "System" in their ID:
  1. In the Search String field, type System.
  2. In the Advanced group, uncheck Search in Attributes and Relationships.
  3. Click OK.

To find any attribute value which contains "System":

  1. In the Search String field, type System.
  2. In the Advanced group, check Search in Attributes and Relationships.
  3. Click OK.
Attribute Filter Searches within specific attributes. If empty, all attributes are searched. Content assist is available in the Attribute Filter field, press Ctrl + Space to display a list of all the available attributes based on the letters typed.

Several attributes can be specified by using a semicolon (;) as a separator.

To search for all "Static Value" and "Default Value" attributes:
  1. In the Search String field, type *.
  2. In the Attribute Filter field, type staticValue; defaultValue.
  3. Click OK.

To search for a Mass Processing actions:

  1. In the Search String field, type true.
  2. In the Attribute Filter field, type massProcessing.
  3. Click OK.

When you click OK in the Model Editor Search dialog box, the Search view is opened and is populated with the search results.


Search For

Double-clicking a match within the search view highlights the corresponding object in the opened model editor.

To copy the search results, highlight one or several matches in the Search view, right-click, and then click Copy Text. The copied text is now available in your clipboard, in CSV format.

Previous Topic Next topic Print topic