一个关于选择集的问题, 还请高手多多指导
<P><FONT face=宋体>Global Const GROUPCODE_4 As Integer = -4 <BR>Global Const GROUPCODE0 As Integer = 0<BR>Global Const GROUPCODE10 As Integer = 10<BR>Dim dPth1(0 To 2) As Double 'POLYLINE起点座标配列<BR>Dim dPth2(0 To 2) As Double 'POLYLINE尾点座标配列 </FONT></P><P><FONT face=宋体> ReDim iFilterType(0 To 4) As Integer<BR> ReDim vFilterData(0 To 4) As Variant<BR> <BR> iFilterType(0) = GROUPCODE_4<BR> vFilterData(0) = "<OR"<BR> <BR> iFilterType(1) = GROUPCODE10<BR> vFilterData(1) = dPth1<BR> <BR> iFilterType(2) = GROUPCODE10<BR> vFilterData(2) = <FONT face=宋体>dPth2<BR> <BR> </FONT>iFilterType(3) = GROUPCODE_4<BR> vFilterData(3) = "OR>"<BR> <BR> iFilterType(4) = GROUPCODE0<BR> vFilterData(4) = "LWPOLYLINE"</FONT></P>
<P><FONT face=SimSun> Set oSelSetTemp = ThisDrawing.SelectionSets.Add("New" & CStr(time))<BR> oSelSetTemp.Select acSelectionSetAll, , , iFilterType, vFilterData</FONT></P>
<P><FONT face=SimSun>假设dPth1,dPth2都已有值请问以上VBA代码要转换成ARX, 应该如何实现呀还请高手指点!</FONT></P>
页:
[1]