We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1eda5 commit 2545b7eCopy full SHA for 2545b7e
1 file changed
InteractiveHtmlBom/ecad/kicad.py
@@ -336,7 +336,10 @@ def parse_drawing(self, d):
336
elif (d.GetClass().startswith("PCB_DIM")
337
and hasattr(pcbnew, "VECTOR_SHAPEPTR")):
338
result.append(self.parse_dimension(d))
339
- s = self.parse_text(d.Text())
+ if hasattr(d, "Text"):
340
+ s = self.parse_text(d.Text())
341
+ else:
342
+ s = self.parse_text(d)
343
else:
344
self.logger.info("Unsupported drawing class %s, skipping",
345
d.GetClass())
0 commit comments