• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Signal Name - Global Rename in Capture

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 165
  • Views 11429
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Signal Name - Global Rename in Capture

Liana
Liana over 14 years ago

I have a schematic with a few hundred signal names that start with DataXXXX.  We need to change these to RXXXX.  Is there a way to change these globablly rather than editing them one by one?  They are offpage connector net names....

 

Thanks!

  • Cancel
  • paragc
    paragc over 14 years ago

    Reformatting in IE... :-) 

     

    1) Select design name in project manager window

    2) From Menu select Edit -> Find,

     3) From the Find dialog - Select only off-page connectors with the name you want to rename

    4) Select all on the spreadsheet that appears with offpage names 5) Select Menu Edit ->Properties - you should see another spreadsheet

     6) Rename one value on spreadsheet

    7) Click Copy for the modified value

    8) Select entire column

    9) Click on button "paste" If you want Advanced processing and not just a simple name replacement -

    You could try the following options (Please note : All these solutions will work require latest 16.3ISR installation.)-

    a) Export to text format like EDIF or XML - make the changes and re-import it (For xml the tcl export and import commands are - XMATIC_XML2DSN and XMATIC_DSN2XML )

    b) You can directly work on Orcad Database. Cadence provides a sample TCL on search and replace text. The TCL can be modified to work on Offpage objects. If you decide to use this - you need to execute the following TCL commands after your program has changed the signals on objects. package require capDesignUtil; ::capDesignUtil::reevaluateAllPagesOfOpenDesigns

    You can execute this in batch or through TCL shell provided in Capture. TCL Commands and usage are documented in \tools\capture\tclscripts\OrCAD_Capture_TclTk_Extensions.pdf

    If you need R&D help on TCL - you can contact at orcad_scripting@cadence.com

    c) If your design only has a few pages - You can write a script to execute through User Interface. You can turn on the Journaling in Capture and see the TCL commands being executed through UI interface. You can write a simple script to work on small script to filter selected objects to offpages and execute the renaming command that was recorded in journaling. This will work for a page at a time unless you code TCL to go through all pages.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • redwire
    redwire over 14 years ago

     You can do a similar edit using Excel if you have it.  As above, Edit->Find, choose either all or Data* as off page connectors.

    When they show up in the find box, select all, then ctrl-e (Edit).  This will pop up an edit box.  Select the column.  Ctrl-Ins (copies entire column).  Paste in Excel.  Edit in Excel with Ctrl-H (replace).  Copy that back to Excel, select column, shift-ins will paste back.


    Don't close the edit box in OrCAD while editing in Excel.  Just a hint.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Liana
    Liana over 14 years ago

    Thank you paragc and redwire!  I opted for the second method as I have access to Excel.  It worked like a charm and saved me many many hours.  Thanks to both of you for responding so quickly.

    Liana

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AceUM21
    AceUM21 over 14 years ago

    What about replacing text in a text box?  I used a bunch of text boxes to label something in my design and I'd like to do a global replace to change them.  It would seem that the global replace command under the edit menu would provide this capability, however, it apparently doesn't work for text boxes because it never finds the string.  It's rather strange also because if you use the find command in the edit menu then it finds them all no problem.  Any ideas?  It seems like this would be a common need and something that should be easy.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hmkr
    hmkr over 14 years ago

    You can find and replace text using the "Find And Replace Text" application in the TCL Dashboard. You can launch the TCL application dashboard by going to the menu "Accessories -> Cadence TCL/Tk Utiltities -> Utilities"

    "Find And Replace Text" application supports finding and replacing text using regular expressions also, so you can do complex replacements. The "Help" button on this application gives you a couple of examples. The output is displayed in the session log.

    Find And Replace Text

    • FindAndReplaceText.jpg
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information