Altium NEXUS Documentation

FindAndReplaceText

Created: July 27, 2015 | Updated: April 11, 2017

Parent page: Schematic Commands

The following pre-packaged resource, derived from this base command, is available:


Applied Parameters: None

Summary

This command allows you to quickly find specific text, or partial text, in accordance with defined search options, then replace that text with specified new text.

Access

This command can be accessed from the Schematic Editor and the Schematic Library Editor, by:

  • Choosing the Edit » Replace Text command from the main menus.
  • Using the Ctrl+H keyboard shortcut.

Use

After launching the command, the Find And Replace Text dialog will appear. Use this dialog to specify the existing text to find, and the replacement text to be used, along with scoping and additional options. Once ready, click OK. All target text will be replaced, unless the Prompt On Replace option is enabled in the dialog - which will allow you to manually confirm replacement of each instance of matching text.

Selective string substitutions can be performed, using the {oldtext=newtext} syntax to change just a portion of the search string. For example, if you enter the string VCC into the Text to Find field and enter the string {CC=DD} into the Replace With field, all instances of the string VCC will be changed to VDD. You can use multiple sets of brackets to define complex replacements - the leftmost bracketed replacement is made first, then the next one to the right, and so on.

Tips

  1. The target string can contain the wildcard characters ? (single character) and * (any group of characters).
  2. You can only search within or across schematic documents or schematic library documents - not a combination of the two document types.
  3. In the Schematic Library Editor, a Sheet Scope of Current Document will perform a search through all part sheets contained in the document.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: