求助一个关于SelectOnScreen 的问题
<P>如何用SelectOnScreen方法来只选择块(块参照)</P><P>就是sstext.SelectOnScreen FilterType, FilterData</P>
<P>中的条件FilterType,FilterData 应该如何写</P>
<P>谢谢!</P> Sub Example_SelectOnScreen()<BR> ' 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> Dim gpCode(0) As Integer<BR> Dim dataValue(0) As Variant<BR> gpCode(0) = 0<BR> dataValue(0) = "Insert"<BR> <BR> Dim groupCode As Variant, dataCode As Variant<BR> groupCode = gpCode<BR> dataCode = dataValue<BR> <BR> ' Add objects to a selection set by prompting user to select on the screen<BR> ssetObj.SelectOnScreen groupCode, dataCode<BR> <BR>End Sub <P>非常感谢版主alin的回答,我找了好久都了</P>
页:
[1]