• 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 scripting

Stats

  • Locked Locked
  • Replies 20
  • Subscribers 172
  • Views 44915
  • 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 scripting

Azef
Azef over 16 years ago

Hi All,

I would like to use Orcad Capture TCL scripting. Before the 1st hotfix of 16.3 the command window in Capture echoed all of the operations performed during the editing session. Also .captcl session script log file was available as it is written in the manual. Since 1st and till the 7th hotfix neither command window echo nor .captcl session script log fileare available, and this was my ultimate source of examples.

What can be done to get both features back? (Apart from uninstalling all of the hotfixes.)

BTW, I use Win7/64 and tried to run Capture as administrator, if this info may help.

Best Regards,

Azef.

  • Cancel
Parents
  • paragc
    paragc over 15 years ago

    You can look at the document in <installation>\tools\capture\tclscripts\OrCAD_Capture_TclTk_Extensions.pdf for examples and description. You can also look at samples in <installation>\tools\capture\tclscripts directory.

    If you are selecting wire on schematic - see GetSelectedObjects command examples in the document.

    Flatnets are calculated by Capture schematic on runtime. Flatnets do not have properties in OrCAD Database. The properties of Flatnets are propogated from the net occurrences. To access the properties at any object see section "3.2.24 Iterate over all  effective  properties of any object".

    Looking at the XML version of the design is one of the best ways to see the structure of the database of your design and to understand which object's property you need to modify to get the desired result. From the TCL command line execute the following command 

    XMATIC_DSN2XML <DSNFilename> <outputXmlName>

    The above command will create an XML output file that shows all the database objects in the design and their relationships.

    The document I have mentioned above has examples of TCL iterators that allow you access to any objects in a design. The Effective property examples in the document show you how to modify properties.

    If you need further help - you can send your questions to orcad_scripting@cadence.com 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • paragc
    paragc over 15 years ago

    You can look at the document in <installation>\tools\capture\tclscripts\OrCAD_Capture_TclTk_Extensions.pdf for examples and description. You can also look at samples in <installation>\tools\capture\tclscripts directory.

    If you are selecting wire on schematic - see GetSelectedObjects command examples in the document.

    Flatnets are calculated by Capture schematic on runtime. Flatnets do not have properties in OrCAD Database. The properties of Flatnets are propogated from the net occurrences. To access the properties at any object see section "3.2.24 Iterate over all  effective  properties of any object".

    Looking at the XML version of the design is one of the best ways to see the structure of the database of your design and to understand which object's property you need to modify to get the desired result. From the TCL command line execute the following command 

    XMATIC_DSN2XML <DSNFilename> <outputXmlName>

    The above command will create an XML output file that shows all the database objects in the design and their relationships.

    The document I have mentioned above has examples of TCL iterators that allow you access to any objects in a design. The Effective property examples in the document show you how to modify properties.

    If you need further help - you can send your questions to orcad_scripting@cadence.com 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data
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.

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

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