• 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. OrCAD Capture Tcl script to change page names

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 164
  • Views 15291
  • 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

OrCAD Capture Tcl script to change page names

rblum
rblum over 9 years ago

Is there a way to change the name of a schematic page in a Tcl script?  I'm able to use code similar to the example in the Tcl/Tk Extensions manual to print out all the schematic page names, but I can't seem to change them.  The log in the command window shows calling the Menu "Design::Rename" command, but I'm looking for a way to rename pages without opening up dialog boxes.

  • Cancel
  • oldmouldy
    oldmouldy over 9 years ago

    Try RenameObject takes a pointer to a DboBaseObject and a CString for the new name, DboPage derives from DboBaseObject so that would seem to be the way to go.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rblum
    rblum over 9 years ago

    I think RenameObject is actually a method of DboLib, not DboBaseObject, so DboPage doesn't have that method.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 9 years ago

    Try Rename then, that seems like it would fit the bill exactly.

    • 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