使用下面命令还是不行啊?我选择集就2条直线
Sub fd() '倒角
Dim returnObj As AcadEntity
Dim y(1 To 3) As Double
Dim ss As Variant
On Error Resume Next
SsetName = "au100"
On Error Resume Next
For i = 0 To ThisDrawing.SelectionSets.Count - 1
Set SsetObj = ThisDrawing.SelectionSets.Item(i)
If SsetObj.Name = "au100" Then SsetObj.Delete
Next i
Set SsetObj = ThisDrawing.SelectionSets.Add(SsetName)
SsetObj.SelectOnScreen