You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.


The Find/Replace tool in the Edit menu of the Designer allows you to search your entire project for specific components, properties, scripts, Transaction Groups, and Tags. You can then use the replace feature to make mass changes to a project with the click of a button.


On this page ...


IULocgo


Using Find and Replace



Search Options

In the Target section, the Find/Replace tool has options for searching through many different parts of a project.

  • Pipelines
  • SQL Bridge Transaction Groups
  • Scripting 
  • Tags
  • Templates (Vision)
  • Views (Perspective)
  • Windows (Vision)

You can narrow down your search by selecting and deselecting categories you include in the search.  The SQL Bridge, Templates, Views, and Windows options also have dropdown options to customize your search.

For example, if you want to search only a couple Views, do the following:

  1. In the Project Browser, use Ctrl-Click to select the views you want to search.



  2.  In the Designer toolbar, go to Edit > Find/Replace or use the shortcut Ctrl-F. The Find/Replace window is displayed.
  3.  De-select all of the options except for Views
  4. In Views, click on the expand arrow and choose the Selected Views option.



  5. Enter the property, action, script, or such that you want to search for. In this case we searched for property value Helvetica.
  6. Click Find.
  7. The search results are displayed in the Results box.


Wildcards

To customize your search further, you can use the wildcard characters * and ?.

Use an asterisk (*) to indicate that any character(s) could be where the asterisk is.  For example, to search for Tags that start with the word "Motor" enter "Motor*". This would return Motor 1, Motor2, Motor_East3, and so forth.

Use a question mark (?) to indicate any single character could be where the question mark is. For example, to search for Valve1Status through Valve9Status, you could enter Valve?Status.  Note that this would not return something like Valve44Status because that is more than one character where the wildcard is.


Using Find and Replace

  1. In the Designer toolbar, go to Edit > Find/Replace or use the shortcut Ctrl-F. The Find/Replace window is displayed.
  2. Enter what you're searching for in the textbox at the top to search through your project.
  3. Click the Find button at the top right to execute the search. All matching items appear in the Results section. Double-click on an item in the Results table to bring that item into editing focus in the Designer
  4. To replace a value, select an entry in the Results section and you'll see the Value of that entry in the Current box of the Replace section.
  5. Enter the text you want to use as a replacement in the Replace textbox and a preview of the new value is shown in the Preview box. 
  6. Click the Replace button to execute the replace.  This will move your selection down in the Results table so that you can rapidly execute multiple replacements.  If you're satisfied and you'd like to make the identical replacement to many items, select them all in the Results table and click the Replace All button.



Related Topics ...


  • No labels