Sub test() On Error Resume Next Dim sset As AcadSelectionSet ThisDrawing.SelectionSets.Add "test" Set sset = ThisDrawing.SelectionSets("test") sset.Clear Dim pt As Variant pt = ThisDrawing.Utility.GetPoint sset.Select acSelectionSetCrossing, pt, pt MsgBox sset.Count End Sub
Sub test() On Error Resume Next Dim sset As AcadSelectionSet ThisDrawing.SelectionSets.Add "test" Set sset = ThisDrawing.SelectionSets("test") sset.Clear Dim pt As Variant pt = ThisDrawing.Utility.GetPoint sset.Select acSelectionSetCrossing, pt, pt MsgBox sset.Count End Sub