add script to move refdes to fab layer
This commit is contained in:
parent
88810ccf08
commit
9f50a52588
|
@ -0,0 +1,9 @@
|
||||||
|
import pcbnew
|
||||||
|
import sys
|
||||||
|
|
||||||
|
board = pcbnew.LoadBoard(sys.argv[1])
|
||||||
|
for fp in board.GetFootprints():
|
||||||
|
fp.Value().SetVisible(False)
|
||||||
|
fp.Reference().SetLayer(board.GetLayerID('F.Fab'))
|
||||||
|
|
||||||
|
board.Save(sys.argv[1])
|
Loading…
Reference in New Issue