- 积分
- 391
- 明经币
- 个
- 注册时间
- 2004-12-28
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
[求助]怎么定义在VS.NET开发2004ARX的本地函数?
AcDbObjectId CreateCircleL(AcGePoint3d center1,double r1) { AcGeVector3d normal(0.0,0.0,1.0,); AcDbCircle *pCirc=new AcDbCirle(center1,normal,r1); AcDbBlockTable *pBlockTable; acdbHostApplicationServices()->workingDatabase() ->getBlockTable(pBlockTable,AcDb::kForRead); AcDbBlockTableRecord *pBlockTableRecord; pBlockTable->getAt(ACDB_MODEL_APACE,pBlockTableRecord, AcDb::kForWrite); pBlockTable->close(); AcDbObjectId circleId; pBlockTableRecord->appendAcDbEntity(circleId,pCirc); pBlockTableRecord->close(); pCirc->close(); return circleId; }
红色的写义对码? |
|