imacroscript.h File Reference

imacroscript.h File Reference
#include "noncopyable.h"
#include "iFnPub.h"
#include "actiontableTypedefs.h"
#include "maxscript/ScripterExport.h"

Classes

class  MacroEntry
 This class provides access to a single macro entry. More...
 
class  MacroEntry::DisableCompileGuard
 Helper class for disabling macroscript compiles in an exception-safe manner. More...
 
class  MacroDir
 

Macros

#define ME_DROPPED_SCRIPT   0x0001
 
#define ME_SILENT_ERRORS   0x0002
 
#define ME_HAS_EXECUTE   0x0004
 
#define ME_TEMPORARY   0x0008
 
#define ME_NO_AUTO_UNDO   0x0010
 
#define ME_NEEDS_COMPILE   0x0020
 
#define BAD_MACRO_ID   -1
 

Typedefs

typedef short MacroID
 

Functions

ScripterExport MacroDirGetMacroScriptDir ()
 
ScripterExport void InitMacroScriptDir ()
 

Variables

const ActionTableId kActionMacroScripts = 647394
 
const ActionContextId kActionMacroScriptsContext = 647394
 

Macro Definition Documentation

#define ME_DROPPED_SCRIPT   0x0001
#define ME_SILENT_ERRORS   0x0002
#define ME_HAS_EXECUTE   0x0004
#define ME_TEMPORARY   0x0008
#define ME_NO_AUTO_UNDO   0x0010
#define ME_NEEDS_COMPILE   0x0020
#define BAD_MACRO_ID   -1

Typedef Documentation

typedef short MacroID

Function Documentation

ScripterExport MacroDir& GetMacroScriptDir ( )
Remarks
This global function is available in release 3.0 and later only.

Returns a reference to the macro script directory.
ScripterExport void InitMacroScriptDir ( )
Remarks
This global function is available in release 3.0 and later only.

This is an internal only function used by 3ds Max during startup to get the macroScript system initialized.

Variable Documentation

const ActionTableId kActionMacroScripts = 647394
const ActionContextId kActionMacroScriptsContext = 647394