|
|
|
@ -177,9 +177,8 @@ export class DrawDoorTool
|
|
|
|
|
templateSpace.Name = "根空间";
|
|
|
|
|
templateSpace.IsSign = true;
|
|
|
|
|
|
|
|
|
|
templateSpace.LParam.expr = "L";
|
|
|
|
|
templateSpace.WParam.expr = this.option.isAuto ? "W" : `DOORDEEPTH`;
|
|
|
|
|
templateSpace.HParam.expr = `H-SLK-XLK`;
|
|
|
|
|
templateSpace.WParam.expr = this.option.isAuto ? "" : `DOORDEEPTH`;
|
|
|
|
|
|
|
|
|
|
templateSpace.PZParam.expr = "XLK";
|
|
|
|
|
templateSpace.PYParam.expr = "MBNS";
|
|
|
|
|
templateSpace.GetParam("BH").value = this.option.thickness;
|
|
|
|
@ -187,6 +186,7 @@ export class DrawDoorTool
|
|
|
|
|
this.AppendTemplateParam("DOORDEEPTH", this.option.depth, "立板深度", templateSpace);
|
|
|
|
|
this.AppendTemplateParam("MBNS", this.option.offset, "内缩", templateSpace);
|
|
|
|
|
this.AppendTemplateParam("MBH", this.option.doorThickness, "门板厚度", templateSpace);
|
|
|
|
|
this.AppendTemplateParam("MBG", 0, "门板高", templateSpace, "H-SLK-XLK");
|
|
|
|
|
|
|
|
|
|
this.AppendTemplateParam("SLK", this.option.topOffset, "上留空", templateSpace);
|
|
|
|
|
this.AppendTemplateParam("XLK", this.option.bottomOffset, "下留空", templateSpace);
|
|
|
|
@ -214,7 +214,6 @@ export class DrawDoorTool
|
|
|
|
|
this.AppendTemplateParam("JLXJ", this.option.hindeBottomDist, "铰链下距", templateSpace);
|
|
|
|
|
|
|
|
|
|
app.Database.TemplateTable.Append(templateSpace);
|
|
|
|
|
|
|
|
|
|
return templateSpace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|