de_search_and_replace()

Finds all references (depending on refType), given a variable or item reference, and highlights the item. Optionally, if searchOnlyFlag is set to 0, replaces the reference with the reference specified by replaceName. Returns: none.

Syntax:

de_search_and_replace(searchName, replaceName, refType, searchOnlyFlag);

where

searchName is the name of variable or item reference.

replaceName is the name of variable or item to search for or replace.

refType is the choice of reference type, where:

  • 0 = item reference
  • 1 = variable reference

searchOnlyFlag is the signal for searching and replace options, where:

  • 0 = search and replace reference
  • 1 = search for only

Example:
de_search_and_replace("TL1", "TL14", 0, 0);

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources