Quiet Mode

In Quiet Mode, dialogs participating in the new Default Action system will be suppressed, and user-defined actions will be performed instead.

The actions that can be specified are: #logmsg, #logToFile, and #abort. In addition, you can specify an integer value, where the bits specify event ID specific actions.

A #default action option is available in 3ds Max 8 and higher. When #default is specified, the current defaultAction context state is used. By default, the quiet mode is off unless specified otherwise using the context.

If you set Quiet mode but do not specify an action for an event, the default action is typically to log to the log file and continue.

Methods:

<bool>GetQuietMode()

Returns true if quiet mode is set, or 3ds Max is in net render mode

<bool>SetQuietMode <bool>

Sets quiet mode on or off. Returns previous mode value.

The syntax for MAXScript methods that use the Default Action system are:

render:

quiet: <bool>

If true, suppress participating dialogs.

In previous versions, the default was false. In 3ds Max 8 and higher, the default is the current quiet mode.

missingExtFilesAction: <actions>

Actions to take on Missing External Files, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items.

missingExtFilesList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of the missing external file names.

missingUVWAction: <actions>

Actions to take on Missing UVWs, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items.

missingUVWList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing map channel and node name.

unsupportedRenderEffectAction: <actions>

Actions to take on Unsupported Render Effects, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items. Available in 3ds Max 8 and higher.

unsupportedRenderEffectList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of the unsupported render effect names. Available in 3ds Max 8 and higher.

loadMaxFile:

fetchMaxFile:

quiet: <bool>

If true, suppress participating dialogs.

In previous versions, the default was false. In 3ds Max 8 and higher, the default is the current quiet mode.

missingExtFilesAction: <actions>

Actions to take on Missing External Files, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items.

missingExtFilesList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of the missing external file names.

missingDLLsAction: <actions>

Actions to take on Missing DLLs, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items

missingDLLsList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing dll file and class name.

missingXRefsAction: <actions>

Actions to take on Missing Xrefs, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items

missingXRefsList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing XRef files and/or XRef object names.

mergeMaxFile:

quiet: <bool>

If true, suppress participating dialogs.

In previous versions, the default was false. In 3ds Max 8 and higher, the default is the current quiet mode.

missingDLLsAction: <actions>

Actions to take on Missing DLLs, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items.

missingDLLsList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing dll file and class name.

missingExtFilesAction: <actions>

Actions to take on Missing External Files, where <actions> is: #logmsg, #logToFile, #abort, and/or an integer, or an array of one or more of those items. Available in 3ds Max 8 and higher.

missingExtFilesList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of the missing external file names. Available in 3ds Max 8 and higher.

missingXRefsAction: <actions>

Actions to take on Missing Xrefs, where <actions> is: #logmsg, #logToFile, #abort, and/or an integer, or an array of one or more of those items. Available in 3ds Max 8 and higher.

missingXRefsList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing XRef files and/or XRef object names. Available in 3ds Max 8 and higher.

getMAXFileObjectNames:

quiet: <bool>

If true, suppress participating dialogs.

In previous versions, the default was false. In 3ds Max 8 and higher, the default is the current quiet mode.

missingDLLsAction: <actions>

Actions to take on Missing DLLs, where <actions> is: #logmsg, #logToFile, #abort, #default and/or an integer, or an array of one or more of those items

missingDLLsList: &variable

If #logmsg is specified as action, the by-reference variable will be filled in with array of strings containing the missing dll file and class name.

 

Example:

val = undefined

loadmaxfile "apollo.max" missingExtFilesList:&val missingExtFilesAction:#logmsg quiet:true

val

 

val = undefined

render missingExtFilesList:&val missingExtFilesAction:#(#logmsg,#abort) quiet:true

val

 

If there are missing external files, the scene will load without a Missing External Files dialog, and val will contain an array of the missing file names. The scene will not render (due to the #abort option being specified), and val will contain an array of the missing file names.

 

See also

Command Line Option: -silent

Controlling the Renderer

3ds Max File Loading and Saving