개정판 7e6303df
issue #000: fix
Change-Id: I0508d4843574e94c6087309f4f20ab59c6eebd95
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
892 | 892 |
id2_xml.write(id2_xml_path, encoding="utf-8", xml_declaration=True) |
893 | 893 |
"""up to here""" |
894 | 894 |
|
895 |
QMessageBox.information(self, self.tr('Information'), self.tr('Importing finished!'), |
|
896 |
QMessageBox.Close) |
|
897 | 895 |
except Exception as ex: |
898 | 896 |
from App import App |
899 | 897 |
from AppDocData import MessageType |
... | ... | |
908 | 906 |
message = 'There is no xml file' |
909 | 907 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
910 | 908 |
|
909 |
QMessageBox.information(self, self.tr('Information'), self.tr('Importing finished!'), |
|
910 |
QMessageBox.Close) |
|
911 |
|
|
911 | 912 |
def symbol_to_xml(self, blk_ref_node, id2_bbox, autocad_bbox, mapping_configs: list) -> str: |
912 | 913 |
"""try to convert block reference element to id2 xml""" |
913 | 914 |
import uuid |
내보내기 Unified diff