개정판 5a83fda2
dev issue #000 : Zero Length에서 Join 추가
Change-Id: I0e3656022dac4374b696709f102817f9c78791a3
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
93 | 93 |
foreach (LineNumber lineNumber in document.LINENUMBERS) |
94 | 94 |
foreach (LineRun run in lineNumber.RUNS) |
95 | 95 |
JoinRunLine(run); |
96 |
|
|
96 |
|
|
97 | 97 |
// TrimLineRun Line Join |
98 | 98 |
foreach (TrimLine trimLine in document.TRIMLINES) |
99 | 99 |
foreach (LineRun run in trimLine.RUNS) |
... | ... | |
102 | 102 |
// Note Modeling |
103 | 103 |
foreach (var item in document.NOTES) |
104 | 104 |
NoteModeling(item); |
105 |
|
|
105 |
|
|
106 | 106 |
// Text Modeling |
107 | 107 |
foreach (var item in document.TEXTINFOS) |
108 | 108 |
TextModeling(item); |
... | ... | |
1092 | 1092 |
|
1093 | 1093 |
array = new double[] { 0, x, y }; |
1094 | 1094 |
_LMLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, Rotation: 0, LabeledItem: _LMConnector.AsLMRepresentation(), IsLeaderVisible: true); |
1095 |
|
|
1096 |
AutoJoinPipeRun(_LMConnector.ModelItemID); |
|
1095 | 1097 |
} |
1096 | 1098 |
else |
1097 | 1099 |
{ |
... | ... | |
1189 | 1191 |
string modelitemID = item.Id; |
1190 | 1192 |
_placement.PIDAutoJoin(item, AutoJoinEndConstants.autoJoin_Both, ref item); |
1191 | 1193 |
string afterModelItemID = item.Id; |
1194 |
|
|
1192 | 1195 |
if (modelitemID != afterModelItemID) |
1193 | 1196 |
{ |
1194 | 1197 |
List<Line> lines = SPPIDUtil.FindLinesByModelId(document, modelitemID); |
... | ... | |
1446 | 1449 |
|
1447 | 1450 |
private void InputLineNumberAttribute(LineNumber lineNumber) |
1448 | 1451 |
{ |
1449 |
if (lineNumber.UID == "02425e4f-7a41-4334-afa6-83decda9f2d4") |
|
1450 |
{ |
|
1451 |
|
|
1452 |
} |
|
1453 | 1452 |
Line line = SPPIDUtil.FindObjectByUID(document, lineNumber.CONNLINE) as Line; |
1454 | 1453 |
if (line != null) |
1455 | 1454 |
{ |
내보내기 Unified diff