• 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. Python based scripting on Cadence SPB

Stats

  • State Suggested Answer
  • Replies 14
  • Answers 1
  • Subscribers 19
  • Views 4128
  • Members are here 0
More Content

Python based scripting on Cadence SPB

particlereddy
particlereddy 5 months ago

Hi,

newbie question,

This question might have been asked many times.

[1] I could not find any python script based possibility for DRC check automation scripting using python. Did my homework before asking.

[2] all I see is SKILL based scripting. 

[q1] Please point me to any UserGuide or programming manual in python [if any]?

[q2] Is it possible via C++?

Thanks

  • Cancel
  • Sign in to reply
Parents
  • andakConsultingLtd
    0 andakConsultingLtd 5 months ago

    Indeed it as discussed before. Are you interested in talking to OrCAD Capture or OrCAD PCB?

    Capture has a communication server available on port 9020 where you can post messages. This is discussed in the documentation.

    For PCB, there is no server available, but it is much easier to implement I think (I didn;t do it personally). Definetly some endpoint need to be created in SKILL which would require some port handling (curl.exe could do it or any other c/c++ app).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • particlereddy
    0 particlereddy 5 months ago in reply to andakConsultingLtd

    Hi andakConsultingLtd,

               you mean something like this

    user <----python code---> Skiil Scripts <---PCB Editor--> DRC result

    so there isnt a way to do it all python way ?

    user <----python code---> python Scripts <---PCB Editor--> DRC result

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • andakConsultingLtd
    0 andakConsultingLtd 5 months ago in reply to particlereddy

    I am not saying that there isn't, I am simply not aware of it. I looked for such a solution at some point but then I became good enough with SKILL and other SW tools that I didn't feel the need to use a PYTHON library. I' seen once at some point, but definetly you need a back end built around Allegro. I am pretty sure there is none developed by Cadence. You might be lucky and find one developed by someone else.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • andakConsultingLtd
    0 andakConsultingLtd 5 months ago in reply to particlereddy

    I am not saying that there isn't, I am simply not aware of it. I looked for such a solution at some point but then I became good enough with SKILL and other SW tools that I didn't feel the need to use a PYTHON library. I' seen once at some point, but definetly you need a back end built around Allegro. I am pretty sure there is none developed by Cadence. You might be lucky and find one developed by someone else.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • particlereddy
    0 particlereddy 5 months ago in reply to andakConsultingLtd

    Hi andakConsultingLtd ,

    ok, Thanks for response

    • 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