• 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 - Skill
  3. PCB Design: Python Scripts: PCB Skill

Stats

  • Replies 1
  • Subscribers 18
  • Views 12287
  • Members are here 0
More Content

PCB Design: Python Scripts: PCB Skill

Thamizhk
Thamizhk over 5 years ago

Hi Everyone,

I am new to skill scripting and trying to understand how the PCB skill is working.

I have a following question.

- Where i can look for basic skill script starting point.

- Where i can check for any APIs?

- How do i find out which register or command or API for what purpose?

- Is there a way python and pcb design can work together?

        I mean ; to write some script in python(Which i know)  for some PCB design activity and that will run in the PCB design command terminal?

        Any leads to starting point?

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    To start review the documents

    $CDSROOT/doc/sklanguser

    $CDSROOT/doc/sklangref

    $CDSROOT/doc/algroskill

    For APIs look at $CDSROOT/doc/algroskill

    To register skill code as commands use the function axlCmdRegister()

    I haven't uses python, but have used Perl from skill, below is an example:

    axlRunBatchDBProgram("perl" sprintf(nil "%%CDSROOT%%/tools/perl5/bin/perl.exe %s %s > %s" cmdfile file1 file2) ?reloadDB nil ?noUnload t ?noProgress t ?silent t)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    To start review the documents

    $CDSROOT/doc/sklanguser

    $CDSROOT/doc/sklangref

    $CDSROOT/doc/algroskill

    For APIs look at $CDSROOT/doc/algroskill

    To register skill code as commands use the function axlCmdRegister()

    I haven't uses python, but have used Perl from skill, below is an example:

    axlRunBatchDBProgram("perl" sprintf(nil "%%CDSROOT%%/tools/perl5/bin/perl.exe %s %s > %s" cmdfile file1 file2) ?reloadDB nil ?noUnload t ?noProgress t ?silent t)

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

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

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