老问题Select acSelectionSetAll, , , gbcode, gbdata
程序片段如下:Dim ss As AcadSelectionSet<BR> Dim gbcode(3) As Integer<BR> Dim gbdata(3) As Variant<BR> gbcode(0) = -4: gbdata(0) = "<OR"<BR> gbcode(1) = 0: gbdata(1) = "LWPOLYLINE"<BR> gbcode(2) = 0: gbdata(2) = "CIRCLE"<BR> gbcode(3) = -4: gbdata(3) = "OR"<BR> ss.Select acSelectionSetAll, , , gbcode, gbdata
我想将所有的多段线和圆都选出来,但他什么也没选中全给过滤掉了:(
请大虾帮帮忙^_^ Dim ss As AcadSelectionSet<BR> Dim gbcode(3) As Integer<BR> Dim gbdata(3) As Variant<BR> gbcode(0) = -4: gbdata(0) = "<OR"<BR> gbcode(1) = 0: gbdata(1) = "LWPOLYLINE"<BR> gbcode(2) = 0: gbdata(2) = "CIRCLE"<BR> gbcode(3) = -4: gbdata(3) = "OR>"
注意<、>符号成对出现 Dim gbcode(0) As Integer,gbdata(0) As Variant<BR> gbcode(0) =0: gbdata(0) = "LWPOLYLINE,CIRCLE"
你的代码写错了,应该是
gbcode(3) = -4: gbdata(3) = "OR>"<BR> 谢谢哥哥,姐姐^_^
页:
[1]