如何删除选择的实体?
C#开发|冯美娟|2018-07-24 10:12
-
回答:
private void DeleteEnity() { MxDrawUtility mxUtility = new MxDrawUtility(); MxDrawPoint getPt; MxDrawEntity ent = mxUtility.GetEntity(out getPt, "\n 选择要删除实体:"); if (ent == null) { return; } ent.Erase(); }