Dim number As Integer Dim ObjSelectionSet As AcadSelectionSet i = 0
'获取当前图形中选择集的个数 number = ThisDrawing.SelectionSets.Count
'删除当前图形中所有的选择集 While i < number Set ObjSelectionSet = ThisDrawing.SelectionSets.Item(0) ObjSelectionSet.Delete i = i + 1 Wend 红色部分的代码能帮我解释一下吗?特别是Item(0)是什么意思
While ObjSelectionSet.Item(0).ObjectName <> "AcDbLine"中AcDbLine是什么意思,在VBA帮助中没有