Share

Application.ReloadAllMenus Method

Description

Updates the User Interface in AutoCAD to reflect any changes made to the currently loaded menus.

Visual Basic

Public static Function ReloadAllMenus() As void

C#

public static void ReloadAllMenus();

Remarks

This should be used whenever any currently-loaded menu has been edited programmatically, when you want to display the changes in the UI. The functionality is identical to editing the menu with the CUI Dialog, then selecting OK or Apply. The current workspace is not changed. If properties of the current workspace were edited in the main menu, you likely need to call SetCurrentWorkspace() after calling ReloadAllMenus() to see the effect of the workspace changes.

Links

Application Class, Autodesk.AutoCAD.ApplicationServices Namespace

Was this information helpful?