[求助]如何监控cad中当前选中的物体
<p>kean专题9中通过实现PointMonitor 属性,即</p><p>e.Document.Editor.PointMonitor += new PointMonitorEventHandler(OnMonitorPoint);</p><p>可以实时监控到鼠标下的实体。但是如果选择了实体,把鼠标移开就不行了。有没有其他属性或者事件可以取得当前选中的实体?</p> <p>试下</p><p><a href="mk:@MSITStore:C:\Documents%20and%20Settings\Administrator\桌面\arxmgd.chm::/Autodesk_AutoCAD_EditorInput_Editor_SelectionAdded.html">SelectionAdded</a> </p><p><a href="mk:@MSITStore:C:\Documents%20and%20Settings\Administrator\桌面\arxmgd.chm::/Autodesk_AutoCAD_EditorInput_Editor_SelectionRemoved.html">SelectionRemoved</a> </p><p>这两个事件</p> function XML() {}
页:
[1]