Sub test()
Dim pt As AcadPoint Dim point As Variant Dim minCorner As Variant Dim maxCorner As Variant Dim size As Double Dim entry As AcadEntity Dim item(0) As AcadEntity Dim sset1 As AcadSelectionSet Dim sset2 As AcadSelectionSet Dim FType(0) As Integer Dim FData(0) As Variant
FType(0) = 0: FData(0) = "Point" point = ThisDrawing.Utility.GetPoint() Set sset1 = ThisDrawing.SelectionSets.Add("Point1") sset1.SelectAtPoint point, FType, FData Set item(0) = sset1(0)