• 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. Allegro X Scripting - TCL
  3. Olb to Xml via TCL or cmd prompt

Stats

  • State Verified Answer
  • Replies 4
  • Subscribers 13
  • Views 2236
  • Members are here 0
More Content

Olb to Xml via TCL or cmd prompt

fSeyer
fSeyer over 1 year ago

Hi,

is there any way to export or convert OLB into XML via windows cmd prompt or TCL script?

Thanks!

  • Sign in to reply
  • Cancel
  • PatEscher
    0 PatEscher over 1 year ago

    Hi,

    there are a some samples in the tcl scripts directory and it is also mentioned in the documentation
    use XMATIC_XML2OLB $xmlolbname $olbname from XML to OLB and  XMATIC_OLB2XML $olbname $xmlolbname for the other way around

    you can put that in a script and call OrCAD with the script mode through command line

    +Patrick

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fSeyer
    0 fSeyer over 1 year ago in reply to PatEscher

    Hi Patrick,

    Thanks, can you provide a sample line?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • PatEscher
    +1 PatEscher over 1 year ago in reply to fSeyer

    the sample lines are above

    XMATIC_XML2OLB $xmlolbname $olbname

    XMATIC_OLB2XML $olbname $xmlolbname

    if you look into the OrCAD Tcl documentation in the Doc Assistant, you will find the full examples incl. description

    --> SPB231/OrCAD X TCL Sample Scripts, Version-23.1/TCL Programmimg with OrCAD Capture GUI Interface

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • fSeyer
    0 fSeyer over 1 year ago in reply to PatEscher

    it works, Thank You!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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