上一页 1 ··· 5 6 7 8 9

2015年9月6日

删除用户选中的实体

摘要: //功能:把用户选择的实体从该模型空间中删除,pEnt :选中的实体, 返回该实体的Id。AcDbObjectId RemoveEnt(AcDbEntity *pEnt){ //选择要删除的实体 ads_name ss; ads_point pt; int nRs = acedEntSel(_T("... 阅读全文

posted @ 2015-09-06 16:04 !!-阳光-!! 阅读(260) 评论(0) 推荐(0) 编辑

删除选中图层中的所有实体

摘要: //函数中的参数strLayerName :图层名;objIds :为该图层中所有实体的Id集合AcDbObjectIdArray EntIntLayer(CString strLayerName, AcDbObjectIdArray objIds){ //获得此图层空间内的所有实体 TCHAR *... 阅读全文

posted @ 2015-09-06 16:01 !!-阳光-!! 阅读(753) 评论(0) 推荐(0) 编辑

根据用户选择的实体,确定该实体所在的图层

摘要: CString LayerByEnt(AcDbObjectId objId){ //选择实体 ads_name ss; ads_point pt; int nRs = acedEntSel(_T("\n 请选择要删除图层的一个实体:"), ss, pt); if (RTNORM != nRs) { ... 阅读全文

posted @ 2015-09-06 15:55 !!-阳光-!! 阅读(389) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9

导航