摘要: 方法1: AcDbDatabase *pdb; acdbCurDwg()->wblock(pdb); pdb->saveAs(str); pdb->closeInput(true); delete pdb; 方法2: AcDbDatabase * pDB=acdbHostApplicationSer 阅读全文
posted @ 2020-03-04 01:27 中国膜结构网mjgou 阅读(458) 评论(0) 推荐(0)
摘要: 样条曲线拟合 //定义PI#ifndef PI#define PI 4*atan(1.0)//提高pi的精度#endifbool getSplineSamplePoints(AcDbSpline *&spline, AcGePoint3dArray &pnts){assert(spline != N 阅读全文
posted @ 2020-03-04 01:20 中国膜结构网mjgou 阅读(1260) 评论(0) 推荐(0)
摘要: 很好的arx学习代码(.net版) using System ; using Autodesk.AutoCAD.Runtime ; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; 阅读全文
posted @ 2020-03-04 01:13 中国膜结构网mjgou 阅读(311) 评论(0) 推荐(0)
摘要: objectARX常用代码2 设置当前的layer和textstyle // Function name : SetCurTextStyle // Description : 设置当前TextStyle // Return type : Acad::ErrorStatus // Argument : 阅读全文
posted @ 2020-03-04 01:11 中国膜结构网mjgou 阅读(806) 评论(0) 推荐(0)