Classes | Defines | Enumerations | Functions | Variables

macrorec.h File Reference

#include "maxheap.h"
#include "baseinterface.h"
#include "maxapi.h"
#include "GetCOREInterface.h"
#include "matrix3.h"
#include "maxscript/ScripterExport.h"

Go to the source code of this file.

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...

Defines

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

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
}
 

Value types.

More...

Functions

ScripterExport void  InitMacroRecorder ()

Variables

ScripterExport MacroRecorder macroRecorder

Define Documentation

#define macroRec   GetCOREInterface()->GetMacroRecorder()

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

Definition at line 362 of file macrorec.h.


Enumeration Type Documentation

anonymous enum

Value types.

Enumerator:
mr_int 

An integer.

Follow the tag with the int (Basic C type).

mr_float 

A floating point value.

Follow the tag with a double (Basic C type).

mr_string 

A string.

Follow the tab with the string (TCHAR*) (Basic C type).

mr_bool 

A boolean.

Follow the tag with a int (Basic C type).

mr_point3 

A Point3.

Follow the tag with a Point3* (MAX SDK type).

mr_color 

A Color.

Follow the tag with a Color* (MAX SDK type).

mr_angaxis 

An AngAxis.

Follow the tag with an AngAxis* (MAX SDK type).

mr_quat 

A Quaternion.

Follow the tag with a Quat* (MAX SDK type).

mr_time 

A TimeValue, follow the tag with a TimeValue (MAX SDK type).

mr_reftarg 

A Reference Target pointer.

Follow the tag with a ReferenceTarget* (MAX SDK type).

mr_bitarray 

A bit array.

Follow the tag with a pointer to a BitArray* (MAX SDK type).

mr_pbbitmap 

A parameter block2 bitmap object.

Follow the tag with a PBBitmap* (MAX SDK type).

mr_matrix3 

A Matrix3.

Follow the tag with a Matrix3* (MAX SDK type).

mr_nurbssel 
mr_meshselbits 
mr_meshsel 
mr_subanim 
mr_animatable 
mr_classid 
mr_nurbsselbits 
mr_point4 
mr_acolor 
mr_sel 

MaxScript Type.

mr_funcall 

MaxScript Type.

mr_varname 

MaxScript Type.

mr_create 

MaxScript Type.

mr_angle 

A floating point value with a ParamDimension of a stdAngleDim.

Follow the tag with a double (MAX SDK type)

mr_percent 
mr_index 
mr_prop 
mr_name 
mr_dimfloat 

A floating point value with the specified ParamDimension.

Follow the tag with: ParamDimension*, double (MAX SDK type).

mr_dimpoint3 

A Point3 value with the specified ParamDimension.

Follow the tag with: ParamDimension*, Point3* (MAX SDK type)

mr_point2 

Definition at line 325 of file macrorec.h.


Function Documentation

ScripterExport void InitMacroRecorder ( )

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


Variable Documentation

ScripterExport MacroRecorder* macroRecorder