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
498 { Reset(); }
void Reset()
Definition: maxscript.h:500

◆ ~MAXScriptPrefs()

virtual ~MAXScriptPrefs ( )
inlinevirtual
499 { }

Member Function Documentation

◆ Reset()

void Reset ( )
inline
501  {
502  // MAXScript preference defaults
503  loadStartupScripts = TRUE;
504  loadSaveSceneScripts = TRUE;
506  font = _M("Consolas");
507  fontSize = 9;
508  initialHeapSize = 100.0f;
509  autoOpenListener = FALSE;
510  enableMacroRecorder = FALSE;
511  showCommandPanelSwitch = FALSE;
512  showToolSelections = FALSE;
513  showMenuSelections = FALSE;
514  absoluteSceneNames = FALSE;
515  absoluteSubObjects = FALSE;
516  absoluteTransforms = FALSE;
517  useFastNodeNameLookup = TRUE;
518  showGCStatus = FALSE;
519  showEditorPath = TRUE;
520  useMultiThreadedUsedMacroscriptCompile = FALSE; // not currently enabled because of gc issues
523  }
int showGCStatus
Definition: maxscript.h:492
int loadSaveSceneScripts
Definition: maxscript.h:478
int absoluteSubObjects
Definition: maxscript.h:489
int loadSavePersistentGlobals
Definition: maxscript.h:479
int showEditorPath
Definition: maxscript.h:493
int logUsedMacroscriptCompiles
Definition: maxscript.h:495
MSTR font
Definition: maxscript.h:480
int preValidateResourceValues
Definition: maxscript.h:496
int enableMacroRecorder
Definition: maxscript.h:484
int showMenuSelections
Definition: maxscript.h:487
int fontSize
Definition: maxscript.h:481
int useFastNodeNameLookup
Definition: maxscript.h:491
int autoOpenListener
Definition: maxscript.h:482
int absoluteTransforms
Definition: maxscript.h:490
int showToolSelections
Definition: maxscript.h:486
int absoluteSceneNames
Definition: maxscript.h:488
int loadStartupScripts
Definition: maxscript.h:477
int showCommandPanelSwitch
Definition: maxscript.h:485
int useMultiThreadedUsedMacroscriptCompile
Definition: maxscript.h:494
float initialHeapSize
Definition: maxscript.h:483
#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