求助,如何获得用户选择的实体
用ActiveX编程,我想知道当前激活的文档中,哪些实体被用户选中了 <P class=1-liner>用文档的PickfirstSelectionSet属性:<P class=1-liner>Gets the pickfirst selection set.
<P class=h1-access><A href="mk:@MSITStore:C:\AutoCAD%202004\Help\acadauto.chm::/pickfirstselectionset_see_also.htm" target="_blank" >See Also</A> | <A href="mk:@MSITStore:C:\AutoCAD%202004\Help\acadauto.chm::/ex_pickfirstselectionset.htm" target="_blank" >Example</A>
<P class=Heading-2>Signature <PRE class=Code>object.PickfirstSelectionSet</PRE>
<P class=element>object
<P class=element-desc><A href="mk:@MSITStore:C:\AutoCAD%202004\Help\acadauto.chm::/idh_document_object.htm" target="_blank" >Document</A> object<BR>The object or objects this property applies to.
<P class=element>PickfirstSelectionSet
<P class=element-desc><A href="mk:@MSITStore:C:\AutoCAD%202004\Help\acadauto.chm::/idh_selectionset_object.htm" target="_blank" >SelectionSet</A> object; read only<BR>The pickfirst selection set. PickfirstSelectionSet有Bug,参见:
<A href="http://bbs.mjtd.com/forum.php?mod=viewthread&tid=22987" target="_blank" >http://bbs.mjtd.com/forum.php?mod=viewthread&tid=22987</A> 谢谢楼上两位高人相助,我用PickfirstSElectionSet可以解决问题,因为我用的是Delphi所以避过了VBARUN命令,再次对二位表示感谢<BR>
页:
[1]