Menus Пример |
Sub Example_Menus() 'Этот пример находит имена всех меню в первой группе меню. Dim menuNames As String Dim menuCollection As AcadPopupMenus Dim menu As AcadPopupMenu Set menuCollection = ThisDrawing.Application.MenuGroups.Item(0).Menus menuNames = "" For Each menu In menuCollection menuNames = menuNames & menu.name & vbCrLf Next menu MsgBox menuNames End Sub