Using the [References] window, you can search for instances of a specified source property or text in the project or compound objects. You can then use the [References] window to replace the source property or text.
The [References] window is an important tool for maintaining and adjusting projects.
Search Item | Search field | |
Project |
Compound Object |
|
---|---|---|
[Variable], [Local Variable], [Graphic Object], [Target], [Equipment], [Alarm], [Recipe] | [Compound Object], [Local Variable], [Graphic Object] |
Select the source property to search from the source property selector. |
[LanguageTable Text], [Direct Text] |
[Direct Text] | Type the text to search for in project labels and text, or in compound text. |
[Converter] | [Converter] |
Type the name of the converter to search for.
As you type the converter name, matching names are listed
dynamically.
|
[Security Level] | [Security Level] |
Define the range of security levels to search for. For example, below is a search for security level 5. |
Scope | Description |
[Select All] | Select this check box to select the check boxes of all search items and add them to the search scope. Clear this check box to clear the check boxes of all search items and remove them from the search scope. |
[Screens] | After selecting this check box to search screens, set whether to search [All Screens] or a specific screen with the [Screen ID] field. |
[Contents] | After selecting this check box to search contents, set whether to search [All Contents] or a specific content with the [Content ID] field. |
[Scripts] | Select this check box to add scripts to the search scope. After selecting this check box to search scripts, set whether to search [All Scripts], all [Global Scripts], or script associated with a specific screen or content with the [Screen ID] and [Content ID] fields. |
[Variables] | Select this check box to add variables to the search scope. |
[Converters] | Select this check box to add converters to the search scope. |
[Alarms] | Select this check box to add alarms to the search scope. |
[Languages] | Select this check box to add languages to the search scope. |
[Targets] | Select this check box to add targets to the search scope. |
[Logging] | Select this check box to add logging to the search scope. |
[Recipes] | Select this check box to add recipes to the search scope. |
[System Keypads] | Select this check box to add system keypads to the search scope. |
[Security] | Select this check box to add security to the search scope. |
Column Name | Description |
[Target Type] | Object that matches the search parameters. |
[Target Path] | Path of the property that matches the search parameters. |
[Source Path] | Property name of the source item that matches the search parameters. If you run the replace operation, this is the item that is replaced. |
The following are three different examples of replacement operations when working with arrays: Full Replace, replace variable element, and replace array.
Source Path | Replace Type | Replace To | Result |
Array1[Var1.value].value | Full Replace | Var2.value | Var2.value |
Array1[Var1.value].value | Var1 | Var2.value | Array1[Var2.value].value |
Array1[Var1.value].value | Array1 | Array2 | Array2[Var1.value].value |
Full Replace replaces the full source path with the selected variable.
In the second scenario, when you select the element number variable, only the selected variable is replaced.
In the third scenario, as the replace type is an array, the array variable itself is replaced.