We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 424636e + e82e1eb commit 554b33fCopy full SHA for 554b33f
SparkFunKiCadBOMGenerator/plugin.py
@@ -69,6 +69,8 @@ def Run(self):
69
for footprint in self.unwanted_footprints: # Check for KiBuzzard etc.
70
if footprint in pack:
71
unwanted = True
72
+ if sourceModule.IsExcludedFromBOM():
73
+ unwanted = True
74
if not unwanted:
75
ref = sourceModule.Reference().GetText()
76
val = sourceModule.Value().GetText()
@@ -98,7 +100,7 @@ def Run(self):
98
100
if not head_tail[1].isnumeric():
99
101
prod_id = ">> INVALID <<"
102
uniqueRef = name + val + prod_id
- if hasProdID:
103
+ if hasProdID and not sourceModule.IsDNP():
104
if "EMPTY" not in prod_id and "INVALID" not in prod_id:
105
prodIdNum = prod_id.split("-")[1]
106
while prodIdNum[0] == "0":
0 commit comments