Wie man alle Footprints auf dem Board mit der KiCAD-Plugin-Python-API erhält
Verwenden Sie die folgende for-Schleife, um alle Footprints im aktuellen Board zu iterieren:
list_footprints.py
for footprint in list(pcbnew.GetBoard().GetFootprints()):
# Example of what to do with [footprint]
print(footprint.GetReference())If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow