• 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. Skill command in PCB editor using python scripting

Stats

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

Skill command in PCB editor using python scripting

DCHOU
DCHOU over 4 years ago

Hi,

Can anyone help me to understand how to enter skill command in PCB editor using python scripting?

Any leads would be appreciated.

Thanks in advance!

Regards,

Deepika

  • Sign in to reply
  • Cancel
  • andakConsultingLtd
    andakConsultingLtd 4 months ago

    Your question is way too general.

    If you want to control OrCAD remotely, from a PY, here's how I'd do it (similar to what exists in TCL Capture):

    1. Create a server in PY and open up a communication port/socket.

    2. Connect OrCAD PCB to that port and listen for commands

    3. On each side, you must define a protocol, one for sending commands (PY Side), and one for interpreting them (SKILL Side). Preferably, encapsulate them in such a way that SKILL knows what to do with each command. Most likely you will have to have the control loops in python and have SKILL run 1 command at a time.

    4. Make sure SKILL is not in blocking mode (use IPC, period events etc) and make sure you can stop to process at anytime.

    5. You definetly need a handshake protocol between the 2 apps, with information flying both ways, timeouts to ensure system doesn;t block, error handling etc.

    And this is just the bird eye view, from 1000ft...

    Other aproaches might exist too.

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