如何标注尺寸公差
double UpTolerance=0.02;double DownTolerance=-0.01;
//创建旋转尺寸及公差
using (Transaction acTrans =acCurDb.TransactionManager.StartTransaction())
{
BlockTable acBlkTbl;
acBlkTbl = acTrans.GetObject(acCurDb.BlockTableId, OpenMode.ForRead) as BlockTable;
BlockTableRecord acBlkTblRec;
acBlkTblRec = acTrans.GetObject(acBlkTbl, OpenMode.ForWrite)
as BlockTableRecord;
RotatedDimension acRotDim = new RotatedDimension();
acRotDim.SetDatabaseDefaults();
acRotDim.XLine1Point = new Point3d(0, 0, 0);
acRotDim.XLine2Point = new Point3d(6, 3, 0);
acRotDim.Rotation = 0.707;
acRotDim.DimLinePoint = new Point3d(0, 5, 0);
acRotDim.DimensionStyle = acCurDb.Dimstyle;
acBlkTblRec.AppendEntity(acRotDim);
acTrans.AddNewlyCreatedDBObject(acRotDim, true);
acTrans.Commit();
}
如何在尺寸后面加上上下公差的标注啊,谢谢!
http://bbs.mjtd.com/forum.php?mod=viewthread&tid=81065&extra=page%3D1%26filter%3Dtypeid%26typeid%3D80%26typeid%3D80
页:
[1]