我想画一个由圆管制成的框,我是先画一个圆,然后用extrudeAlongPath(const AcDbRegion* region,
const AcDbCurve* path)函数进行拉伸,但是这个path要求是 MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbLine/AcDbLine.htm">AcDbLine, MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbArc/AcDbArc.htm">AcDbArc, MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbCircle/AcDbCircle.htm">AcDbCircle, MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbEllipse/AcDbEllipse.htm">AcDbEllipse, MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbSpline/AcDbSpline.htm">AcDbSpline, MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb2dPolyline/AcDb2dPolyline.htm">AcDb2dPolyline, or a non-spline fit MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb3dPolyline/AcDb3dPolyline.htm">AcDb3dPolyline 等,但是我的path偏偏是MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb2dPolyline/AcDb2dPolyline.htm">AcDbPolyline。因为我的path是由直线和圆角组成的,我用的是AcDbPolyline::addVertexAt(unsigned int index,const AcGePoint2d& pt,double bulge = 0.,double startWidth = -1.,double endWidth = -1)来创建这条path,而MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb2dPolyline/AcDb2dPolyline.htm">AcDb2dPolyline和MSITStore:E:\各类工具\CAD开发\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb3dPolyline/AcDb3dPolyline.htm">AcDb3dPolyline 都没有找到能创建直线和圆角连接的方法。请高人指点,我这个path的类型如何解决。 |