显示或隐藏CAD所有工具条
Dim MenuGrout0 As AcadMenuGroup
Set MenuGrout0 = ThisDrawing.Application.MenuGroups.Item(0)
For i = 0 To MenuGrout0.Toolbars.Count - 1
MenuGrout0.Toolbars.Item(i).Visible = False '隐藏
‘ MenuGrout0.Toolbars.Item(i).Visible = True '显示
Next i