修改画图后效果样式
This commit is contained in:
parent
83e774a029
commit
833b941b1c
@ -177,9 +177,11 @@ namespace CadParamPluging.Cad
|
|||||||
tr.AddNewlyCreatedDBObject(hatch, true);
|
tr.AddNewlyCreatedDBObject(hatch, true);
|
||||||
|
|
||||||
hatch.SetHatchPattern(HatchPatternType.PreDefined, "ANSI31");
|
hatch.SetHatchPattern(HatchPatternType.PreDefined, "ANSI31");
|
||||||
hatch.PatternScale = 5.0;
|
hatch.PatternScale = 0.8;
|
||||||
hatch.Associative = true;
|
hatch.PatternAngle = 0;
|
||||||
hatch.ColorIndex = 4;
|
hatch.Associative = false;
|
||||||
|
hatch.ColorIndex = 7; // 白色
|
||||||
|
hatch.LineWeight = LineWeight.LineWeight025; // 0.25mm线宽
|
||||||
|
|
||||||
var ids = new ObjectIdCollection();
|
var ids = new ObjectIdCollection();
|
||||||
ids.Add(polyPart.ObjectId);
|
ids.Add(polyPart.ObjectId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user