Interface: actionMan
 
 
 

Interfaces > Core Interfaces > actionMan

Action Manager

All Action Items are macro recorded when executed. This includes main menus items, CUI buttons, keyboard shortcuts and quad menu items.

   

<boolean>actionMan.executeAction <integer>tableId <string>persistentId 	 

Executes the action specified by the table ID and persistent ID. Returns True if successful and false otherwise.You can get an action's IDs by enabling the MacroRecorder and performing actions in the 3ds Max User Interface. Actions that can be performed only via the actionMan interface will appear as actionMan.executeAction() calls with the corresponding IDs.

FOR EXAMPLE

  • Enable MacroRecorder

  • Go to Main Menu > Tools > Selection Floater.

  • The MacroRecorder will display the code:

actionMan.executeAction 0 "40266" -- Selection: Selection Floater

   

<boolean>actionMan.loadKeyboardFile <filename>file   

Loads the keyboard shortcuts settings from the specified file.Returns Truei f successful and false otherwise.

   

<boolean>actionMan.saveKeyboardFile <filename>file 

Saves the keyboard shortcuts settings to the specified filename.Returns True if successful and false otherwise.

   

<filename>actionMan.getKeyboardFile() 

Returns the filename of the current keyboard shortcuts file.

EXAMPLE

actionMan.getKeyboardFile()
"C:\Program Files\Autodesk\3ds Max 2008\UI\MaxStartUI.kbd"
See Also