注记关联
//创建标注
AlignedDimension acAliDim = new AlignedDimension()
{
Point3d pMidPt = pt1 + (pt2 - pt1) * 0.5;
XLine1Point = pt1,XLine2Point = pt2, DimLinePoint = pMidPt ,
Dimsd1 = true,Dimsd2 = true,Dimse1 = true,Dimse2 = true,Dimtad = 0, Dimasz = 0.0001,
Dimtxt = height, Dimdsep = '.',//分隔符
Dimzin = 1,//显示前导和后导0
Dimdec = digNum,//显示精度
DimensionStyle = doc.Database.Dimstyle,
};
.......
对齐标注添加到 图上了,但是和pt1和pt2没有关联,移动pt1和pt2注记没有同步更新。请教 如何关联注记。在cad里面操作是自动关联的。
页:
[1]