프로젝트

일반

사용자정보

개정판 877ba95c

ID877ba95c7df79fbaa9e911318c17fb12951c6c4a
상위 3aeaaa66
하위 64062d1a, fdf6e5d1

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

issue #563: except eq for trim

Change-Id: I2c5fae757028dac7c223147f3252b776674cd849

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
160 160
        from SymbolSvgItem import SymbolSvgItem
161 161
        from EngineeringRunItem import QEngineeringRunItem
162 162
        from QEngineeringTrimLineNoTextItem import QEngineeringTrimLineNoTextItem
163
        from EngineeringEquipmentItem import QEngineeringEquipmentItem
163 164

  
164 165
        try:
165 166
            docData = AppDocData.instance()
......
229 230
            updateProgress.emit(-1) # reset progressbar
230 231
            displayMessage.emit('Unknown line Topology Construction')
231 232
            orphanLines = [line for line in self._lines if line.owner is None]
232
            orphanSymbols = [symbol for symbol in self._symbols if symbol.owner is None]
233
            orphanSymbols = [symbol for symbol in self._symbols if symbol.owner is None and type(symbol) is not QEngineeringEquipmentItem]
233 234
            if orphanLines + orphanSymbols:
234 235
                self.maxValue = len(orphanLines) + 1
235 236
                orphanLines = sorted(orphanLines, key=lambda param:param.length(), reverse=True)

내보내기 Unified diff

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