Skip to content

Commit 07a3d20

Browse files
Funkenjaegerqu1ck
authored andcommitted
(Eagle) Fix handling of DNP's via assembly variant
1 parent 49c6272 commit 07a3d20

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

InteractiveHtmlBom/ecad/fusion_eagle.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ def _parse(self, brdfile):
800800
'value'],
801801
footprint=el.attrib['package'],
802802
layer=layer,
803-
attr=None,
803+
attr=None if populate else 'Virtual',
804804
extra_fields=extra_fields)
805805

806806
# For component, get footprint data
@@ -852,8 +852,7 @@ def _parse(self, brdfile):
852852
populate)
853853
self._element_refdes_to_silk(el, package)
854854

855-
if populate:
856-
self.components.append(comp)
855+
self.components.append(comp)
857856

858857
# Edges & silkscreen (independent of elements)
859858
for el in plain.iter():

0 commit comments

Comments
 (0)