All Action Items are macro recorded when executed. This includes main menus items, CUI buttons, keyboard shortcuts and quad menu items.
THE CODE EMITTED FOR MANY ACTION ITEMS LOOKS LIKE:
actionMan.executeAction 0 "50002" -- Tools: Rotate Mode
The MAXScript Interface: actionMan has a function called " executeAction
". It takes as parameters the ID of the action table and the " persistent id
" of the action. A comment string that includes the category and tooltip for the action follows it. Some action items have custom code emitters that emit better looking code.
This interface is currently intended only for running macro recorded actions.
There is no way currently to query the action manager for all the available action items.
See Interface: actionMan for the methods exposed for this interface.