Adding a Customized, Plug-in Specific Tab to the Ribbon UI
 
 
 

Some plug-ins might want to add a custom tab to the ribbon interface to make it more convenient for the users to use the plug-in features. The easiest method to do this is for the developers to create their desired tab including all ribbon controls, with their assigned action items and their desired properties. This is explained in the 3ds Max user help in the topic “Surface Modeling > Graphite Modeling Tools > Customizing the Ribbon”.

Once finished with creating and customizing the ribbon tab, it needs to be exported as a .xaml file. Right click on your tab name in the “Existing UI” panel and select “Export” to do this.

To publish the created tab to user the .xaml file has to be placed in the Extensions folder under the 3ds Max install directory during plug-in installation. 3ds Max will automatically add the tab corresponding to that file to the end of ribbon when it is restarted. The file will not be loaded if a tab with the same name already exists in the user’s ribbon. This way any customization to the tab done by the user will not be lost the next time 3ds Max starts.

To delete a tab you will have to write a callback script. Deleting the .xaml file will not delete the tab in the ribbon as it exists locally in the user’s configuration at this point. The uninstaller can inform the user that it is safe to remove the tab now.