怎么样使用AcDbPolyline里面的SegType Enum,进而画出出圆弧多段线,默认的枚举等于kLine,请问怎么样改变为kArc画出圆弧多段线呢 万分感激 我的部分代码如下: AcDbPolyline* pPl = new AcDbPolyline(12); AcDbPolyline::SegType = AcDbPolyline::kArc; pPl->addVertexAt(0,polylinePts[3].convert2d(AcGePlane::kXYPlane)); pPl->addVertexAt(1,cntrPt1.convert2d(AcGePlane::kXYPlane)); pPl->addVertexAt(2,polylinePts[0].convert2d(AcGePlane::kXYPlane)); AcDbBlockTable* pBT; acdbHostApplicationServices()->workingDatabase()->getBlockTable(pBT,AcDb::kForRead); AcDbBlockTableRecord* pBTR; pBT->getAt(ACDB_MODEL_SPACE,pBTR,AcDb::kForWrite); pBT->close(); pBTR->appendAcDbEntity(pPl); pPl->close(); pBTR->close(); |