MAXScript Namespace Reference

MAXScript Namespace Reference

Functions

ScripterExport int GetUIScaledValue (float value)
 
ScripterExport int GetValueUIUnscaled (float value)
 
ScripterExport float GetUIScaledValueFloat (float value)
 
ScripterExport float GetValueUIUnscaledFloat (float value)
 
ScripterExport bool SetMAXScriptListenerLogFile (const MCHAR *filename, const MCHAR *mode)
 Sets MAXScript listener log file to specified file. More...
 
ScripterExport bool GetMAXScriptListenerLogFile (MSTR &listenerLogFileName)
 Gets the MAXScript listener log file name if present. More...
 

Function Documentation

ScripterExport int MAXScript::GetUIScaledValue ( float  value)
ScripterExport int MAXScript::GetValueUIUnscaled ( float  value)
ScripterExport float MAXScript::GetUIScaledValueFloat ( float  value)
ScripterExport float MAXScript::GetValueUIUnscaledFloat ( float  value)
ScripterExport bool MAXScript::SetMAXScriptListenerLogFile ( const MCHAR filename,
const MCHAR mode 
)

Sets MAXScript listener log file to specified file.

Parameters
[in]filename- The fully qualified path for the listener log file
[in]mode- The file open mode specification, typically "w" or "a". See the MAXScript Help file, topic FileStream Values, for a description of the mode string values. Note that this method automatically adds 't' to the specified mode string.
Returns
- true if the listener log file was created, false otherwise.
ScripterExport bool MAXScript::GetMAXScriptListenerLogFile ( MSTR listenerLogFileName)

Gets the MAXScript listener log file name if present.

Parameters
[out]listenerLogFileName- Returns the fully qualified path for the listener log file
Returns
- true if a listener log file name was acquired, false otherwise.