개정판 c891962f
issue #1197: 도면 저장 시 component의 index를 저장한다
Change-Id: I7d281233aac27e262f105e44ea5a13929a5896eb
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
1927 | 1927 |
for componentUID in componentsUID: |
1928 | 1928 |
componentInfos = app_doc_data.getComponentByComponentUID(componentUID) |
1929 | 1929 |
if (len(componentInfos)) > 0: |
1930 |
category = componentInfos[0][3] # Category@SymbolType
|
|
1930 |
category = componentInfos[0]['Category'] # Category@SymbolType
|
|
1931 | 1931 |
|
1932 | 1932 |
if category == 'Stream Line': |
1933 | 1933 |
item = QEngineeringStreamlineItem.fromDatabase(componentInfos) |
내보내기 Unified diff