Note: Many aspects of the dialog described here are new to Analytica 5.0.
The Find dialog lets you search your model to find an object by its identifier, or for text in its title, description, or other text attributes. It can also search the online documents in this Analytica wiki.
To open the Find dialog, select Find on the Object menu, or press Ctrl+F. If you first select an identifier or other text in a definition or other text attribute, the Dialog opens with that text copied into the Search for field.
in attribute menu: By default, it searches for an Identifier containing the search text. Use this menu to select another attribute to search, including Title, Units, Description, Definition, or All text attributes. It returns any object whose selected attribute(s) contains the text being searched for.
- Case sensitive: Check to match letters exactly with upper- and lower-case. By default it ignores case.
- Include system objects: Check to include built-in system functions and variables in your search.
- Regular expression: Check to use wildcards and other options in your search string using a regular expression. Regular expressions offer powerful matching options. Here are a few of the most useful:
^Text: Find only objects starting with "Text". This would include an identifier (or other attribute) like "IsText" that contains "Text" but doesn't start with "Text".
Text$: Find objects whose identifier (or other attribute) ends with the characters "text".
Va\d+: Find identifiers with "Va" followed by one or more numeric digits, such as "Va1" or "Va13".
\bword\b: Find "word" only when in appears as a whole word -- with a space, punctuation, or other word boundary on each side.
- Show matches with : When you check this, it tags each matching node in its parent Diagram with the Find icon:
- Find: Open the first matching object. If there are more matches, you can visit them in turn by selecting Find Next from the Object menu, or press Ctrl+G.
- List: Open a list of matches in the Outline window. From there you can double-click any item to see it in its Diagram window.
- on the Wiki: Opens a browser window and searches the Analytica Wiki online for the specified text. It ignores any attribute selection or checkbox options, including regular expression.
Find in Table
If you open the Find Dialog while viewing a table, it shows the Find in Table tab, which lets you search for text within the cells of the table:
- Case sensitive: Select this for case-sensitive matching, so that upper and lower case must be as you type it.
- Match entire cell: Select this if you want to find a cell that contains only the search text and nothing more.
Table search does not work with regular expressions.
- Analytica 4.0: Introduced Find in Table.
- Analytica 4.6 and earlier: The Find Objects and Find-in-Table dialogs were separate. From a table, the option of searching for objects was not available. To search for objects while viewing a table, bring a non-table window into the foreground, then select Find.
- Analytica 5.0: Introduced the Text option, the use of regular expressions, the option to depict the found set with a magnifying glass icon, the option to List matches in the Outline window, the combination of Find in Table and Find Objects in the same dialog, and the question mark button on the title bar that jumps to this page.