不太明白你要做什么,如果只是选择集的话 Sub tt() On Error Resume Next Dim ss As AcadSelectionSet ThisDrawing.SelectionSets("Test").Delete Set ss = ThisDrawing.SelectionSets.Add("Test") Dim ft(0) As Integer, fd(0) ft(0) = 0: fd(0) = "Region" ss.Select acSelectionSetAll, , , ft, fd End Sub |