PromptSelectionResult psResult = null;
List<ObjectId> arrFitOids=new List<ObjectId>();
psResult = ed.SelectAll();
if (psResult.Status != PromptStatus.OK)
{
if (psResult.Status == PromptStatus.Cancel)
{
ed.WriteMessage("命令取消。");
return false;
}
ed.WriteMessage("选择错误,请重新选择。");
return false;
}
arrFitOids.AddRange(psResult.Value.GetObjectIds());
CAD二次开发 选择集使用
最新推荐文章于 2024-07-16 08:10:46 发布