개정판 a8389774
fix cad
Change-Id: Ic163e3a6521a3d0d6c42d2c9d73152ea317c6623
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
1466 | 1466 |
from EngineeringTextItem import QEngineeringTextItem |
1467 | 1467 |
|
1468 | 1468 |
try: |
1469 |
if text_node.get('MinExtents') == None or text_node.get('MaxExtents') == None: |
|
1470 |
return None |
|
1471 |
|
|
1469 | 1472 |
loc = self.convert_to_image_coords([float(text_node.attrib['X']), float(text_node.attrib['Y'])]) |
1470 | 1473 |
|
1471 | 1474 |
text = text_node.text |
내보내기 Unified diff