KICAD
How To Write Python Scripts In KiCAD
| Date Published: | |
| Last Modified: |
Overview
PCB Scripting
The library pcbnew will be automatically available to you when running the script within pcbnew, all you need to do is to import it:
import pcbnew
board = pcbnew.GetBoard()
Scripts are placed in <kicad installation dir>/scripting/plugins/. They then show up in pcbnew under Tools > External Plugins.
Related Content:
- KiCAD Tips And Tricks
- How To Simulate Circuits In KiCAD
- Importing Altium Projects Into KiCAD
- A Beginners Intro To KiCAD
- A Beginners Intro To KiCAD


