We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 719327a commit f26a828Copy full SHA for f26a828
InteractiveHtmlBom/ecad/kicad.py
@@ -321,7 +321,7 @@ def parse_drawing(self, d):
321
s = self.parse_shape(d)
322
elif d.GetClass() in ["PTEXT", "MTEXT", "FP_TEXT", "PCB_TEXT"]:
323
s = self.parse_text(d)
324
- elif d.GetClass().startswith("PCB_DIM"):
+ elif d.GetClass().startswith("PCB_DIM") and hasattr(pcbnew, "VECTOR_SHAPEPTR"):
325
result.append(self.parse_dimension(d))
326
s = self.parse_text(d.Text())
327
else:
0 commit comments