diff --git a/pcbnew/python/plugins/PadArray.py b/pcbnew/python/plugins/PadArray.py index 751b306796..e13a07898e 100644 --- a/pcbnew/python/plugins/PadArray.py +++ b/pcbnew/python/plugins/PadArray.py @@ -74,7 +74,7 @@ class PadMaker(object): pad = pcbnew.PAD(self.module) pad.SetSize(pcbnew.VECTOR2I(drill, drill)) pad.SetShape(pcbnew.PAD_SHAPE_CIRCLE) - pad.SetAttribute(pcbnew.PAD_ATTRIB_HOLE_NOT_PLATED) + pad.SetAttribute(pcbnew.PAD_ATTRIB_NPTH) pad.SetLayerSet(pad.UnplatedHoleMask()) pad.SetDrillSize(pcbnew.VECTOR2I(drill, drill)) return pad