Press Ctrl+F to open a Find tool that you can use to search for variables or text in all of the model or, for application development, only in methods. In the
Find tool, click
All to search the entire model, including user interface components, variable definitions, model entity tags, identifiers, and labels. You can specify to search using an
Exact match, a
Regular expression, or a
Case sensitive search by selecting the corresponding check boxes. Windows users can also customize the Quick Access Toolbar to access this button (
).
Click Methods to find and optionally replace a text string in methods developed for an application. See the Application Builder documentation for details.
Click the Find button to launch the search. The search results for each search appears in a separate
Find Results window, where each occurrence of the search string appears in a row. Double-click the row to open the node or method and highlight the search result in the Settings window or method where it occurs. The
Node column lists the node where the search string appears; the
Type column lists the type of the search results, such as
Setting,
Description, or
Method); and the
Text column shows the text in which the search string appears.
When searching in the Physics Builder, you can also control the scope of the search in the Find tool. In addition to physics builder files, it can also search in linked files. A linked file can either be a file in an
Import node under the
External Resources branch (downward search), or a file listed in the
External Resources links in the table of the root node’s Setting window (upward search). The search can look for files in the upward direction by selecting the
Follow link sources check box, and it can look for files in the downward direction by selecting the
Follow imports check box. A
Depth value can be used to limit the search. Under the
Links tab there is a specialized search that finds links to a selected node. It supports the
Follow link sources option, and only need to search upward one level. It is not applicable for nodes that cannot be a target of a link.