Find and Replace
The functions allow you to find and, if necessary, replace variables in the current project. The call is made via the "Edit" menu or the following hotkeys:
- F2 – Searching for Variables
- F3 – Continue searching for variables
- F4 – Replace variable
Edit| Searching for variables
After selecting a group and a variable from the offered list boxes, the variable is searched in the current project. If the function finds the variable in the project, the first element to which the variable is linked is selected and thus selected.
Edit| Continue searching
The most recent about "Edit| Search for variables" entered search criterion is searched from the current position in the project. If the variable is found as a link to another element, this element is selected. Otherwise, the selection mark remains with the last element.
Edit| Replace variable
The function allows you to replace a variable that was previously used by the "Edit| search for variables" or which can be specified directly in the dialog.
In the dialog shown below, you can choose whether the variable
- in the selected element (after a previous, successful search, an element is automatically selected),
- in the active window or
- should be replaced throughout the entire application.
By specifying "*" in the "Variable" dialog boxes, all variables, i.e. replace an entire set of variables. This function is e.g. useful for exchanging a group of test variables created during configuration against the group with the actual process variables.
By inserting the character "*" at the end of a substring to the variable name, all variables with the same name start can also be replaced.
Example: Replace variable "OP10*" with "OP20*"


