Dim sstext As AcadSelectionSet Dim FilterType(0) As Integer, FilterData(0) As Variant Dim GroupCode as variant, DataCode as variant ThisDrawing.SelectionSets.Item("ss2").Delete
Set sstext = ThisDrawing.SelectionSets.Add("SS2") FilterType(0) = 0: FilterData(0) = "Circle" GroupCode = FilterType: DataCode = FilterData sstext.SelectOnScreen GroupCode, DataCode |