3ds Max C++ API 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
 

Namespaces

 MAXScript
 

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

◆ ME_DROPPED_SCRIPT

#define ME_DROPPED_SCRIPT   0x0001

◆ ME_SILENT_ERRORS

#define ME_SILENT_ERRORS   0x0002

◆ ME_HAS_EXECUTE

#define ME_HAS_EXECUTE   0x0004

◆ ME_TEMPORARY

#define ME_TEMPORARY   0x0008

◆ ME_NO_AUTO_UNDO

#define ME_NO_AUTO_UNDO   0x0010

◆ ME_NEEDS_COMPILE

#define ME_NEEDS_COMPILE   0x0020

◆ BAD_MACRO_ID

#define BAD_MACRO_ID   -1

Typedef Documentation

◆ MacroID

typedef short MacroID

Function Documentation

◆ GetMacroScriptDir()

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

Returns a reference to the macro script directory.

◆ InitMacroScriptDir()

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

◆ kActionMacroScripts

const ActionTableId kActionMacroScripts = 647394

◆ kActionMacroScriptsContext

const ActionContextId kActionMacroScriptsContext = 647394