[VBA]请教选择集过滤设置!!
在过滤条件中,<or,<and and> or>它们的逻辑关系如何,设置原理怎么啊,DXF帮助里找不到啊!!求各位大虾讲解一下!!多谢了!!Sub tta()<BR>On Error Resume Next<BR>Dim ss As AcadSelectionSet<BR>ThisDrawing.SelectionSets("Test").Delete<BR>Set ss = ThisDrawing.SelectionSets.Add("Test")<BR>Dim ft(6) As Integer, fd(6)<BR>ft(0) = -4: fd(0) = "<or"<BR>ft(1) = -4: fd(1) = "<and"<BR>ft(2) = 8: fd(2) = "0"<BR>ft(3) = 62: fd(3) = 256<BR>ft(4) = -4: fd(4) = "and>"<BR>ft(5) = 62: fd(5) = 1<BR>ft(6) = -4: fd(6) = "or>"<BR>ss.Select acSelectionSetAll, , , ft, fd<BR>MsgBox ss.Count<BR> 这些在DXF文档中没有,你可以看看VL文档中有关过滤器的介绍。
页:
[1]