개정판 901feb22
dev issue #1287 : fix selected Symbol Move
Change-Id: Iccecc58725bf3ddd9a4f28086579d129f4502eba
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
1197 | 1197 |
Transform transform = null; |
1198 | 1198 |
foreach (DrawingObjectBase drawingObject in application.ActiveSelectSet) |
1199 | 1199 |
{ |
1200 |
Symbol2d symbol2D = drawingObject as Symbol2d; |
|
1201 |
if (symbol2D != null) |
|
1200 |
if (drawingObject.GetType() == typeof(Symbol2d)) |
|
1202 | 1201 |
{ |
1202 |
Symbol2d symbol2D = drawingObject as Symbol2d; |
|
1203 | 1203 |
if (transform == null) |
1204 | 1204 |
transform = symbol2D.GetTransform(); |
1205 | 1205 |
drawingObjectBases.Add(symbol2D); |
... | ... | |
1309 | 1309 |
} |
1310 | 1310 |
ReleaseCOMObjects(_LMSymbol); |
1311 | 1311 |
} |
1312 |
else if (drawingObject.GetType() == typeof(Point2d)) |
|
1313 |
{ |
|
1314 |
Point2d point2D = drawingObject as Point2d; |
|
1315 |
if (!drawingObjectBases.Contains(point2D)) |
|
1316 |
drawingObjectBases.Add(point2D); |
|
1317 |
} |
|
1312 | 1318 |
} |
1313 | 1319 |
|
1314 | 1320 |
application.ActiveSelectSet.RemoveAll(); |
내보내기 Unified diff