 - Sub aa()
- Dim ss As AcadSelectionSet
- Set ss = ThisDrawing.SelectionSets.Add("abfdc")
- Dim pt(0 To 14) As Double
- pt(0) = 0
- pt(1) = 0
- pt(2) = 0
- pt(3) = 100
- pt(4) = 0
- pt(5) = 0
- pt(6) = 100
- pt(7) = 100
- pt(8) = 0
- pt(9) = 80
- pt(10) = 80
- pt(11) = 0
- pt(12) = 0
- pt(13) = 100
- pt(14) = 0
- ss.SelectByPolygon acSelectionSetWindowPolygon, pt
- End Sub
|