CoreFunctions.h File Reference
 
 
 
CoreFunctions.h File Reference

This reference page is linked to from the following overview topics: Getting and Setting User Preferences, Flushing the Undo Buffer, Required DLL Functions.


#include <WTypes.h>
#include "CoreExport.h"

Defines

#define  SYSSET_ENABLE_EDITABLEMESH   1
  Are editable meshes enabled?
#define  SYSSET_CLEAR_UNDO   2
  When GetSystemSetting is called with this the undo buffer is cleared.
#define  SYSSET_EDITABLEMESH_ENABLE_KEYBOARD_ACCEL   3
  Are keyboard accelerators enabled for the editable mesh.
#define  SYSSET_ENABLE_EDITMESHMOD   4
  Is the edit meh modifier enabled?
Motion Capture INI Flags
#define  MCAP_INI_CHANNEL   1
#define  MCAP_INI_PRESET   2
#define  MCAP_INI_STOP   3
#define  MCAP_INI_PLAY   4
#define  MCAP_INI_RECORD   5
#define  MCAP_INI_SSENABLE   6

Functions

CoreExport void  SetLockFailureLevel (int level)
CoreExport int  GetLockFailureLevel ()
CoreExport void  SetMacroRecorderInterface (MacroRecorder *mri)
  For the macro-recorder to establish itself with CORE.
CoreExport void  SetMacroScriptInterface (MacroDir *msd)
  To set the CUI macro scrit directory ref in CORE.
CoreExport int  GetSystemSetting (int id)
CoreExport DWORD  Get3DSMAXVersion ()
CoreExport int  GetMotionCaptureINISetting (int ID)
CoreExport void  SetMotionCaptureINISetting (int ID, int val)
CoreExport INT_PTR  CoreExecute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)

Define Documentation

#define SYSSET_ENABLE_EDITABLEMESH   1

Are editable meshes enabled?

#define SYSSET_CLEAR_UNDO   2

When GetSystemSetting is called with this the undo buffer is cleared.

GetSystemSetting will return 0.

#define SYSSET_EDITABLEMESH_ENABLE_KEYBOARD_ACCEL   3

Are keyboard accelerators enabled for the editable mesh.

#define SYSSET_ENABLE_EDITMESHMOD   4

Is the edit meh modifier enabled?

#define MCAP_INI_CHANNEL   1
#define MCAP_INI_PRESET   2
#define MCAP_INI_STOP   3
#define MCAP_INI_PLAY   4
#define MCAP_INI_RECORD   5
#define MCAP_INI_SSENABLE   6

Function Documentation

CoreExport void SetLockFailureLevel ( int  level )
CoreExport int GetLockFailureLevel ( )
CoreExport void SetMacroRecorderInterface ( MacroRecorder mri )

For the macro-recorder to establish itself with CORE.

CoreExport void SetMacroScriptInterface ( MacroDir msd )

To set the CUI macro scrit directory ref in CORE.

CoreExport int GetSystemSetting ( int  id )
CoreExport DWORD Get3DSMAXVersion ( )
CoreExport int GetMotionCaptureINISetting ( int  ID )
CoreExport void SetMotionCaptureINISetting ( int  ID,
int  val 
)
CoreExport INT_PTR CoreExecute ( int  cmd,
ULONG_PTR  arg1 = 0,
ULONG_PTR  arg2 = 0,
ULONG_PTR  arg3 = 0 
)