diff --git a/pcbnew/python/plugins/sdip_wizard.py b/pcbnew/python/plugins/sdip_wizard.py index d7ea1e08f8..4af2c1eb54 100644 --- a/pcbnew/python/plugins/sdip_wizard.py +++ b/pcbnew/python/plugins/sdip_wizard.py @@ -132,7 +132,7 @@ class RowedFootprint(FootprintWizardBase.FootprintWizard): # set the attribute if self.GetName() == "S-DIP": - self.module.SetAttributes(pcbnew.FP_PTH) + self.module.SetAttributes(pcbnew.FP_THROUGH_HOLE) elif self.GetName() == "SOIC": self.module.SetAttributes(pcbnew.FP_SMD) diff --git a/pcbnew/python/plugins/zip_wizard.py b/pcbnew/python/plugins/zip_wizard.py index ded81c203b..92272b724d 100644 --- a/pcbnew/python/plugins/zip_wizard.py +++ b/pcbnew/python/plugins/zip_wizard.py @@ -113,7 +113,7 @@ class RowedFootprint(FootprintWizardBase.FootprintWizard): # set SMD attribute if self.GetName() == "ZIP": - self.module.SetAttributes(pcbnew.FP_PTH) + self.module.SetAttributes(pcbnew.FP_THROUGH_HOLE) elif self.GetName() == "ZOIC": self.module.SetAttributes(pcbnew.FP_SMD)