请问如何把一个实体加入到一个已存在的图层中?谢谢
参考:AcDbEntity *pE;AcDbObjectId eId;
ads_name ent;
ads_point point_pt;
if(acedEntSel("\n选择实体:",ent,point_pt) == RTCAN) return;//选择实体
acdbGetObjectId(eId,ent);
acdbOpenObject(pE, eId, AcDb::kForWrite, false);
pE->setLayer("mjtd");//图层mjtd
pE->close();
页:
[1]