|
我用下面语句在CAD中标注一个尺寸,但结果是只显示五个点,根本不显示标注引出线及标注尺寸数据,问题出在哪?
AcGePoint3d xLine1St(3.0,13.0,0.0);
AcGePoint3d xLine1En(15.0,13.0,0.0);
AcGePoint3d xLine2St(3.0,20.0,0.0);
AcGePoint3d xLine2En(15.0,20.0,0.0);
AcGePoint3d arcPoint(8.0,19.0,0.0);
AcDbObjectId dimStyId1;
AcDb2LineAngularDimension *pAngDimen=new AcDb2LineAngularDimension (xLine1St,xLine1En,xLine2St,xLine2En,arcPoint,NULL,dimStyId1);
pBlockTableRecord->appendAcDbEntity(dimStyId1,pAngDimen); |
|