Home > Community > Forums > PCB Design > Script to Rename Within a Selection?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Script to Rename Within a Selection? 

Last post Fri, Oct 5 2012 6:11 AM by steve. 1 replies.
Started by Tom Huber 04 Oct 2012 10:12 AM. Topic has 1 replies and 783 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Oct 4 2012 10:12 AM

    • Tom Huber
    • Not Ranked
    • Joined on Sat, Jul 30 2011
    • Posts 1
    • Points 20
    Script to Rename Within a Selection? Reply

    In Orcad Capture, I'm looking for a way to do a search and replace of offpage connector names within a selection. Any ideas?

    Filed under:
    • Post Points: 20
  • Fri, Oct 5 2012 6:11 AM

    • steve
    • Top 10 Contributor
    • Joined on Fri, Jul 18 2008
    • Woking, Surrey
    • Posts 1,207
    • Points 19,645
    Re: Script to Rename Within a Selection? Reply

    There is some tcl available to do this. Save and unzip the attached file to <your_install_dir>\tools\capture\tclscripts\capDB folder. Then launch Capture and open your design. Run a Command Window (View - Toolbar - Coomand Window) and then type:-

    package require capDesignUtil

    Then to replace offpage text in the currently active design::capDesignUtil::replaceOffPageText <pOffPageToSearch> <pOffPageToReplaceWith>e.g.:-          ::capDesignUtil::replaceOffPageText  _3  _4
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Tom Huber at 04 Oct 2012 10:12 AM. Topic has 1 replies.