개정판 a62530da
fix text
Change-Id: I8fd9cb3d9739467bbcef0161f633bb3b578ac31a
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
1138 | 1138 |
"""up to here""" |
1139 | 1139 |
|
1140 | 1140 |
"""add text, line and symbol from autocad file to id2 xml file""" |
1141 |
if 'Text' in will_be_converted_items: # text for attrdef |
|
1142 |
for record in autocad_xml_root.iter('AcDbText'): |
|
1143 |
if record.attrib['Layer'] not in exclude_layers: |
|
1144 |
node = self.text_to_xml(record) |
|
1145 |
if node: |
|
1146 |
textInfo.append(node) |
|
1147 |
|
|
1141 | 1148 |
for blk_tbl_record in autocad_xml_root.iter('AcDbBlockTableRecord'): |
1142 | 1149 |
if blk_tbl_record.attrib['Name'].upper() != '*Model_Space'.upper(): |
1143 | 1150 |
continue |
내보내기 Unified diff