프로젝트

일반

사용자정보

개정판 d77440db

IDd77440db74339273bdc9ac01c9a110c6c8fb2982
상위 67e2e851
하위 7158bca9

함의성이(가) 약 5년 전에 추가함

issue #387: add loda data option

Change-Id: I928e83625c00c3e1522a063c8ebc92ce985e9283

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
736 736
            db_items.extend([item for item in items if type(item) is QEngineeringLineNoTextItem])
737 737
            db_items.extend([line for line in appDocData.tracerLineNos if type(line) is QEngineeringTrimLineNoTextItem])
738 738
            # db_items.extend(titleBlockItems)
739
            configs = appDocData.getConfigs('Data Load', 'Xml First')
740
            if configs and int(configs[0].value) is 1:
739
            configs = appDocData.getConfigs('Data Save', 'Unknown Xml Only')
740
            if configs and int(configs[0].value) is -1:
741 741
                db_items.extend([item for item in items if type(item) is QEngineeringUnknownItem])
742 742

  
743 743
            '''
......
1424 1424
                    # Load data
1425 1425
                    path = os.path.join(app_doc_data.getCurrentProject().getTempPath(), app_doc_data.imgName + '.xml')
1426 1426
                    configs = app_doc_data.getConfigs('Data Load', 'Xml First')
1427
                    if configs and int(configs[0].value) is 1 and os.path.isfile(path):
1427
                    if configs and int(configs[0].value) >= 1 and os.path.isfile(path):
1428 1428
                        self.load_recognition_result_from_xml(path)
1429
                    else:
1429
                    elif configs and int(configs[0].value) <= 1:
1430 1430
                        self.load_drawing(app_doc_data.activeDrawing)
1431 1431

  
1432 1432
                    self.display_number_of_items()

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)