• 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 PCB Editor
  3. Python libraries to manipulate board file and save the board...

Stats

  • State Suggested Answer
  • Replies 1
  • Answers 1
  • Subscribers 160
  • Views 10646
  • Members are here 0
More Content

Python libraries to manipulate board file and save the board as png

habbeydo
habbeydo over 3 years ago

Hi,

Are there any Python libraries to manipulate board file (.brd) and save the board as png?

Thanks,

Harsha

  • Sign in to reply
  • Cancel
  • mstaub
    0 mstaub over 3 years ago

    Hi Harsha,

    I'm not familiar of any public Python libraries that do this, but it is possible to extract data from a brd file using python. To do this you will want use the extracta command via a command line, which can be done in Python. All you need to do is specify the input brd file, config file for the data you want to export, and an output file (with some other command line arguments). You can then use python to parse the output file and do what you want with the data. I'm not sure what the use case is for trying to modify a brd file using python. If there are specific things in the design you want to automate, you might want to look at running Skill code within a given design.

    Alternatively if you are just looking for a picture of the design you can just use a screen capture tool or within Allegro run File->Capture Canvas Image... and set the output file type to *.png. You might even be able to automate this using Skill, and if not I'm sure you could just use a standard Allegro script. Hope this helps.

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