标签:
AcDbEntity *pEnt;
acdbOpenAcDbEntity(pEnt, pId, AcDb::kForRead);
AcRxObject *pObj = NULL;
pObj = pEnt->clone();
AcDbEntity *pEntT = static_cast<AcDbEntity*>(pObj);
第二种
AcRxObject *obj = pPolyline->clone();
AcDbPolyline *newPoly = new AcDbPolyline();
newPoly =AcDbPolyline::cast(obj);
标签:
原文地址:http://www.cnblogs.com/xzh1993/p/4979912.html