Right-click menus were used in 3ds Max 2 and 3 in place of the QuadMenus introduced in 3ds Max 4.
The following methods were made obsolete by the QuadMenus system, but still exist in 3ds Max.
This page is provided as part of the history of MAXScript but does not reflect current features of 3ds Max!
Registers the specified right-click menu.
This method was made obsolete by the QuadMenu system in 3ds Max 4 and higher.
Unregisters the specified right-click menu
This method was made obsolete by the QuadMenu system in 3ds Max 4 and higher.
Unregisters all right-click menus.
This method was made obsolete by the QuadMenu system in 3ds Max 4 and higher.
The following script for 3ds Max 2 and 3 would add two items to the right-click menu: Cast Shadows and Receive Shadows. These items would be enabled only if one object is selected. If enabled, the items would be checked or unchecked based on the current state of the selected object. Choosing a menu item would flip the state of the corresponding object property.
You could register as many scripted right-click menus as you like. Each scripted right-click menu registered was appended to the right-click menu window. If a scripted right-click menu with the same name was registered twice, the old one was overwritten by the new one.