Custom menu in 3ds Max

I prefer to have my custom tools attached to menu bars. Pretty much all apps have them unlike other UI features, shelves, toolbars, sidebars etc. So it’s a nice consistent┬áplace to put them.

This is how you build a custom menu on the main menu bar with maxscript. It is rebuilt every time 3ds Max starts up, making it easy to update and modify, locally or on a server to control lots of machines.

This MacroLoader.ms file runs on startup, it loads the menu bar script, and the scripts ready to be attached to items on the menu.

This is the script that builds the custom menu. In this example it only adds one script, SRSave. This script was loaded (ready to be added to the UI) in the previous script.
SR__Menu.mcr

That’s about all. For more info checkout menuMan in the maxscript help.