selectonscreen方法求助
<P>以下是cad得帮助的一个例子,我把它放到了一个命令按钮的单击事件中,可是总提示出错,为什么阿</P><P>' This example adds objects to a selection set by prompting the user<BR> ' to select ones to add.<BR> <BR> ' Create the selection set<BR> Dim ssetObj As AcadSelectionSet<BR> Set ssetObj = ThisDrawing.SelectionSets.Add("TEST_SSET")<BR> <BR> ' Add objects to a selection set by prompting user to select on the screen<BR> ssetObj.SelectOnScreen<BR>以下是出错时的帮助信息</P>
<P>AutoCAD main window is invisible. To turn on the window, set the visible property of the application object to acTrue.</P> <P>me.hide</P>
<P>ssetObj.SelectOnScreen</P>
<P>me.show</P> 太感谢了
页:
[1]