3ds Max C++ API Reference
MAXScriptPrefs Class Reference

#include <maxscript.h>

Public Member Functions

 MAXScriptPrefs ()
 
virtual ~MAXScriptPrefs ()
 
void Reset ()
 
virtual void LoadMAXScriptPreferences ()
 
virtual void SaveMAXScriptPreferences ()
 

Public Attributes

int loadStartupScripts
 
int loadSaveSceneScripts
 
int loadSavePersistentGlobals
 
MSTR font
 
int fontSize
 
int autoOpenListener
 
float initialHeapSize
 
int enableMacroRecorder
 
int showCommandPanelSwitch
 
int showToolSelections
 
int showMenuSelections
 
int absoluteSceneNames
 
int absoluteSubObjects
 
int absoluteTransforms
 
int useFastNodeNameLookup
 
int showGCStatus
 
int showEditorPath
 
int useMultiThreadedUsedMacroscriptCompile
 
int logUsedMacroscriptCompiles
 
int preValidateResourceValues
 

Constructor & Destructor Documentation

◆ MAXScriptPrefs()

MAXScriptPrefs ( )
inline
481 { Reset(); }
void Reset()
Definition: maxscript.h:483

◆ ~MAXScriptPrefs()

virtual ~MAXScriptPrefs ( )
inlinevirtual
482 { }

Member Function Documentation

◆ Reset()

void Reset ( )
inline
484  {
485  // MAXScript preference defaults
486  loadStartupScripts = TRUE;
487  loadSaveSceneScripts = TRUE;
489  font = _M("Consolas");
490  fontSize = 9;
491  initialHeapSize = 100.0f;
492  autoOpenListener = FALSE;
493  enableMacroRecorder = FALSE;
494  showCommandPanelSwitch = FALSE;
495  showToolSelections = FALSE;
496  showMenuSelections = FALSE;
497  absoluteSceneNames = FALSE;
498  absoluteSubObjects = FALSE;
499  absoluteTransforms = FALSE;
500  useFastNodeNameLookup = TRUE;
501  showGCStatus = FALSE;
502  showEditorPath = TRUE;
503  useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
506  }
int showGCStatus
Definition: maxscript.h:475
int loadSaveSceneScripts
Definition: maxscript.h:461
int absoluteSubObjects
Definition: maxscript.h:472
int loadSavePersistentGlobals
Definition: maxscript.h:462
int showEditorPath
Definition: maxscript.h:476
int logUsedMacroscriptCompiles
Definition: maxscript.h:478
MSTR font
Definition: maxscript.h:463
int preValidateResourceValues
Definition: maxscript.h:479
int enableMacroRecorder
Definition: maxscript.h:467
int showMenuSelections
Definition: maxscript.h:470
int fontSize
Definition: maxscript.h:464
int useFastNodeNameLookup
Definition: maxscript.h:474
int autoOpenListener
Definition: maxscript.h:465
int absoluteTransforms
Definition: maxscript.h:473
int showToolSelections
Definition: maxscript.h:469
int absoluteSceneNames
Definition: maxscript.h:471
int loadStartupScripts
Definition: maxscript.h:460
int showCommandPanelSwitch
Definition: maxscript.h:468
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:477
float initialHeapSize
Definition: maxscript.h:466
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:67

◆ LoadMAXScriptPreferences()

virtual void LoadMAXScriptPreferences ( )
virtual

◆ SaveMAXScriptPreferences()

virtual void SaveMAXScriptPreferences ( )
virtual

Member Data Documentation

◆ loadStartupScripts

int loadStartupScripts

◆ loadSaveSceneScripts

int loadSaveSceneScripts

◆ loadSavePersistentGlobals

int loadSavePersistentGlobals

◆ font

MSTR font

◆ fontSize

int fontSize

◆ autoOpenListener

int autoOpenListener

◆ initialHeapSize

float initialHeapSize

◆ enableMacroRecorder

int enableMacroRecorder

◆ showCommandPanelSwitch

int showCommandPanelSwitch

◆ showToolSelections

int showToolSelections

◆ showMenuSelections

int showMenuSelections

◆ absoluteSceneNames

int absoluteSceneNames

◆ absoluteSubObjects

int absoluteSubObjects

◆ absoluteTransforms

int absoluteTransforms

◆ useFastNodeNameLookup

int useFastNodeNameLookup

◆ showGCStatus

int showGCStatus

◆ showEditorPath

int showEditorPath

◆ useMultiThreadedUsedMacroscriptCompile

int useMultiThreadedUsedMacroscriptCompile

◆ logUsedMacroscriptCompiles

int logUsedMacroscriptCompiles

◆ preValidateResourceValues

int preValidateResourceValues