Created
November 20, 2019 00:01
-
-
Save qu1ck/eb3d82b91c663542f6849718d2e1552a to your computer and use it in GitHub Desktop.
Kicad plugin to make all references invisible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pcbnew | |
class MakeRefsInvisible(pcbnew.ActionPlugin, object): | |
def defaults(self): | |
self.name = "Make references invisible" | |
self.category = "Modify PCB" | |
self.description = "Make all footprint references invisible." | |
def Run(self): | |
b = pcbnew.GetBoard() | |
for m in b.GetModules(): | |
m.Reference().SetVisible(False) | |
MakeRefsInvisible().register() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment