개정판 d42a4fbb
issue #563: fix flow mark, change default line color
Change-Id: Iae5ddf212bb205697602cd05193e661fc337472a
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
1067 | 1067 |
configs = docdata.getConfigs('Flow Mark', 'Length') |
1068 | 1068 |
length = int(configs[0].value) if 1 == len(configs) else 200 |
1069 | 1069 |
|
1070 |
for line in lines:
|
|
1070 |
for line in [line for line in lines if line.is_piping(True)]:
|
|
1071 | 1071 |
line.update_flow_mark(position, length) |
1072 | 1072 |
line.update_arrow() |
1073 | 1073 |
# for lineNo in docdata.tracerLineNos: |
DTI_PID/DTI_PID/Scripts/MSSQL/ID2.sql | ||
---|---|---|
2113 | 2113 |
INSERT INTO SymbolName (UID,SymbolType_UID,Category,"Type",Name) VALUES ( |
2114 | 2114 |
1075,0,'Line','Line','Electric'); |
2115 | 2115 |
INSERT INTO SymbolName (UID,SymbolType_UID,Category,"Type",Name) VALUES ( |
2116 |
1076,0,'Line','End Break','Electric Binary');
|
|
2116 |
1076,0,'Line','Line','Electric Binary');
|
|
2117 | 2117 |
INSERT INTO SymbolName (UID,SymbolType_UID,Category,"Type",Name) VALUES ( |
2118 | 2118 |
1077,0,'Line','Line','Guided Electromagnetic'); |
2119 | 2119 |
INSERT INTO SymbolName (UID,SymbolType_UID,Category,"Type",Name) VALUES ( |
... | ... | |
2697 | 2697 |
'LineTypes' |
2698 | 2698 |
), |
2699 | 2699 |
( |
2700 |
'#0000ff,15,SolidLine,50',
|
|
2700 |
'#aa00ff,15,SolidLine,50',
|
|
2701 | 2701 |
'Mechanical', |
2702 | 2702 |
'LineTypes' |
2703 | 2703 |
), |
2704 | 2704 |
( |
2705 |
'#d64700,15,DashDotDotLine,50',
|
|
2705 |
'#ffaa00,15,DashDotDotLine,50',
|
|
2706 | 2706 |
'Pneumatic', |
2707 | 2707 |
'LineTypes' |
2708 | 2708 |
), |
... | ... | |
2717 | 2717 |
'LineTypes' |
2718 | 2718 |
), |
2719 | 2719 |
( |
2720 |
'#ebeb00,15,SolidLine,50',
|
|
2720 |
'#00ffff,15,SolidLine,50',
|
|
2721 | 2721 |
'Secondary', |
2722 | 2722 |
'LineTypes' |
2723 | 2723 |
), |
내보내기 Unified diff