3ds Max C++ API Reference
macrorec.h File Reference
#include "maxheap.h"
#include "baseinterface.h"
#include "maxapi.h"
#include "GetCOREInterface.h"
#include "matrix3.h"
#include "maxscript/ScripterExport.h"

Classes

class  MacroRecorder
 Provides various methods to emit pieces of script to the Macro Recorder. More...
 
class  MacroRecorder::MacroRecorderDisable
 Class for easily & safely disabling the macro recorder. More...
 

Macros

#define macroRec   (GetCOREInterface() ? GetCOREInterface()->GetMacroRecorder() : nullptr)
 A utility macro for accessing the global instance of the macro recorder. More...
 

Enumerations

enum  {
  mr_int , mr_float , mr_string , mr_bool ,
  mr_point3 , mr_color , mr_angaxis , mr_quat ,
  mr_time , mr_reftarg , mr_bitarray , mr_pbbitmap ,
  mr_matrix3 , mr_nurbssel , mr_meshselbits , mr_meshsel ,
  mr_subanim , mr_animatable , mr_classid , mr_nurbsselbits ,
  mr_point4 , mr_acolor , mr_sel , mr_funcall ,
  mr_varname , mr_create , mr_angle , mr_percent ,
  mr_index , mr_prop , mr_name , mr_dimfloat ,
  mr_dimpoint3 , mr_point2
}
 

Functions

ScripterExport void InitMacroRecorder ()
 
ScripterExport const MCHARcommand_name_from_code (int com)
 

Variables

ScripterExport MacroRecordermacroRecorder
 

Macro Definition Documentation

◆ macroRec

#define macroRec   (GetCOREInterface() ? GetCOREInterface()->GetMacroRecorder() : nullptr)

A utility macro for accessing the global instance of the macro recorder.

Function Documentation

◆ InitMacroRecorder()

ScripterExport void InitMacroRecorder ( )

This global function is used internally to initialize the macro recorder and should not be called by plug-in developers.

◆ command_name_from_code()

ScripterExport const MCHAR* command_name_from_code ( int  com)

This global function is used internally to convert from a command id to the corresponding maxscript command name.

Variable Documentation

◆ macroRecorder

ScripterExport MacroRecorder* macroRecorder
extern