개정판 1f75c4f0
Fix: 텍스트가 뒤집어지는 오류 수정, 화살표는 화면에 표시하지 않도록 수정
Change-Id: I5ae9f9d469f464569731f342c05242ed6bcc7bf6
ID2.Manager/ID2.Manager.Compare/Controls/Verification.cs | ||
---|---|---|
434 | 434 |
LayerName = lp.LayerName, |
435 | 435 |
LineWeight = lp.LineWeight, |
436 | 436 |
LineTypeMethod = colorMethodType.byEntity, |
437 |
Color = Verification.AutoCADColor,
|
|
437 |
Color = lp.Color,
|
|
438 | 438 |
ColorMethod = colorMethodType.byEntity |
439 | 439 |
}; |
440 | 440 |
res.Add(line); |
441 | 441 |
} |
442 | 442 |
} |
443 | 443 |
/// PORT 블럭은 제외 |
444 |
else if(y is BlockReference subblkref && subblkref.BlockName != "PORT")
|
|
444 |
else if(y is BlockReference subblkref && (subblkref.BlockName != "PORT" && !subblkref.BlockName.StartsWith("ARROW")))
|
|
445 | 445 |
{ |
446 | 446 |
res.AddRange(ExplodeBlockReference(Blocks, subblkref, LayerName, color)); |
447 | 447 |
} |
448 | 448 |
}); |
449 | 449 |
|
450 | 450 |
var attributes = blkref.Attributes; |
451 |
foreach (var ent in entities.Where(y => y is devDept.Eyeshot.Entities.Attribute)) |
|
451 |
foreach (var ent in entities.Where(y => y is devDept.Eyeshot.Entities.Attribute attr && !attr.Invisible))
|
|
452 | 452 |
{ |
453 | 453 |
var txt = ent as devDept.Eyeshot.Entities.Attribute; |
454 |
#region 텍스트가 뒤집어지는 것을 방지하기 위해 평면을 교체 |
|
455 |
txt.Plane = new devDept.Geometry.Plane(txt.Plane.Origin, devDept.Geometry.Vector3D.AxisX, devDept.Geometry.Vector3D.AxisY); |
|
456 |
#endregion |
|
454 | 457 |
txt.LayerName = LayerName; |
455 | 458 |
txt.Color = color; |
456 | 459 |
txt.ColorMethod = colorMethodType.byEntity; |
... | ... | |
460 | 463 |
|
461 | 464 |
res.AddRange(entities.Where(y => |
462 | 465 |
{ |
463 |
if (y is devDept.Eyeshot.Entities.Attribute attr && string.IsNullOrEmpty(attr.TextString)) return false;
|
|
466 |
if (y is devDept.Eyeshot.Entities.Attribute attr && (string.IsNullOrEmpty(attr.TextString) || attr.Invisible)) return false;
|
|
464 | 467 |
if (y is devDept.Eyeshot.Entities.Text text && string.IsNullOrEmpty(text.TextString)) return false; |
465 | 468 |
if (y is BlockReference subblkref && subblkref.BlockName == "PORT") return false; |
466 | 469 |
if (y is LinearPath) return false; |
... | ... | |
511 | 514 |
/// 도면을 원점으로 맞춘다. |
512 | 515 |
if (min.X != 0 && min.Y != 0) ent.Translate(-min.X, -min.Y); |
513 | 516 |
|
514 |
if (ent is BlockReference blkref) |
|
517 |
if (ent is BlockReference blkref && !blkref.BlockName.StartsWith("ARROW"))
|
|
515 | 518 |
{ |
516 | 519 |
AddEntities.AddRange(ExplodeBlockReference(ra.Blocks, blkref, Verification.AutoCADLayer, Verification.AutoCADColor)); |
517 | 520 |
} |
... | ... | |
543 | 546 |
} |
544 | 547 |
}); |
545 | 548 |
design.Entities.RemoveAll(x => (x is LinearPath)); |
546 |
design.Entities.AddRange(AddEntities); |
|
547 | 549 |
#endregion |
548 | 550 |
|
551 |
design.Entities.AddRange(AddEntities); |
|
552 |
|
|
549 | 553 |
#region 브랜치가 생성되는 부분에서 파이프 라인을 분할 |
550 | 554 |
var queue = design.Entities.Where(x => x is Line && |
551 | 555 |
Forms.ExceptLayer.LineLayers.Exists(y => y.Name.ToUpper() == x.LayerName.ToUpper())).ToList(); |
... | ... | |
996 | 1000 |
revcloud.LayerName = Verification.RevCloudLayer; |
997 | 1001 |
revcloud.Color = Verification.RevCloudColor; |
998 | 1002 |
revcloud.ColorMethod = colorMethodType.byEntity; |
999 |
revcloud.LineWeight = 10;
|
|
1003 |
revcloud.LineWeight = 3;
|
|
1000 | 1004 |
revcloud.LineWeightMethod = colorMethodType.byEntity; |
1001 | 1005 |
design.Entities.Add(revcloud); |
1002 | 1006 |
} |
내보내기 Unified diff