修改剖面密度
This commit is contained in:
parent
487e5fb3ed
commit
ef5c82b692
@ -63,7 +63,7 @@ namespace CadParamPluging.Cad
|
||||
case Role.Hidden:
|
||||
return new LayerSpec { LayerName = "虚线", DefaultLinetypeName = "DASHED", DefaultLineWeight = LineWeight.LineWeight025, DefaultColorIndex = 7 };
|
||||
case Role.Hatch:
|
||||
return new LayerSpec { LayerName = "剖面线", DefaultLinetypeName = "Continuous", DefaultLineWeight = LineWeight.LineWeight018, DefaultColorIndex = 7 };
|
||||
return new LayerSpec { LayerName = "剖面线", DefaultLinetypeName = "Continuous", DefaultLineWeight = LineWeight.LineWeight018, DefaultColorIndex = 4 };
|
||||
case Role.Dimension:
|
||||
return new LayerSpec { LayerName = "尺寸标注", DefaultLinetypeName = "Continuous", DefaultLineWeight = LineWeight.LineWeight018, DefaultColorIndex = 7 };
|
||||
case Role.Text:
|
||||
|
||||
@ -610,7 +610,7 @@ namespace CadParamPluging.Cad
|
||||
ctx.Tr.AddNewlyCreatedDBObject(hatch, true);
|
||||
|
||||
hatch.SetHatchPattern(HatchPatternType.PreDefined, "ANSI31");
|
||||
hatch.PatternScale = 0.8;
|
||||
hatch.PatternScale = 10;
|
||||
hatch.PatternAngle = 0;
|
||||
hatch.Associative = false;
|
||||
ctx.Style?.Apply(hatch, DrawingStyleManager.Role.Hatch);
|
||||
|
||||
@ -178,10 +178,10 @@ namespace CadParamPluging.Cad
|
||||
tr.AddNewlyCreatedDBObject(hatch, true);
|
||||
|
||||
hatch.SetHatchPattern(HatchPatternType.PreDefined, "ANSI31");
|
||||
hatch.PatternScale = 0.8;
|
||||
hatch.PatternScale = 10;
|
||||
hatch.PatternAngle = 0;
|
||||
hatch.Associative = false;
|
||||
hatch.ColorIndex = 7; // 白色
|
||||
hatch.ColorIndex = 4; // 青色
|
||||
hatch.LineWeight = LineWeight.LineWeight025; // 0.25mm线宽
|
||||
|
||||
var ids = new ObjectIdCollection();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user