On the MAXScript panel of the Preference Settings dialog, you set MAXScript and Macro Recorder preferences, enable or disable auto-loading of scripts, set the initial heap size, change font style and size used in the MAXScript editor, and manage all the settings for the Macro Recorder.
You can also change these settings by editing the [MAXScript] section of the 3dsmax.ini file.
Choose Help MAXScript Help for details on MAXScript.
You can load scripts automatically in two ways. You can create a file named startup.ms that contains your startup code. MAXScript searches for this file in these locations in this order: the user scripts directory, the user startup scripts directory, the 3ds Max system scripts directory, and the 3ds Max system startup scripts directory. MAXScript stops searching after it finds the first occurrence of startup.ms.
You can also place the script files you want auto-loaded into the \startup directory inside the user startup scripts. MAXScript loads any script file with the file name extensions .ms, .mcr, .mse, and .mzp. If you want a script to be ignored on startup, you can give it the .mxs extension, which is not loaded on startup but recognized as an executable script by the MAXScript Editor.
If you have both a startup.ms file and auto-load files in the \startup directory, MAXScript always loads startup.ms first.
MAXScript supports a limited form of variables. You declare that a particular global is persistent and the value it contains is always saved to and restored from scene files as they are opened and closed. In this way you can, for example, keep direct references to objects in the scene in variables. Those references will move across scene save and reload.
Choose a font for the MAXScript editor
Choose a font size for the MAXScript editor.
Opens the Listener if a script sends output to a WindowStream value with no associated window. This would require a MAXScript extension.
When on and editing a script, the script window title bar shows the file name and entire file path. When off, the title bar shows the script file name only.
Turn this off if you encounter an incompatibility with an existing script.
When off, whatever is specified in the resource file as the value is used in the script. If the resource file contains bad values, you can end up with weird parsing errors that are difficult to figure out.
Once you're finished setting up the resource file, turn this option off. At this point you know the file is good and have finished editing the file, so there's no need to take time validating the file.
MAXScript carves its own working memory (called a heap) out of the memory that 3ds Max allocates. You can add to the heap at any time by increasing the value here.
Controls in this large group are for recording macros. See Macro Recorder.
3ds Max starts with the macro recorder disabled and a minimized Macro-Recorder pane in the MAXScript listener window.
You can also enable the Macro Recorder by turning on MAXScript Macro Recorder or by turning on Enable in the Macro Recorder menu on the MAXScript Listener toolbar.
This state is stored in the 3dsmax.ini file. Turning it on once keeps it enabled across restarts of 3ds Max.
The Code Generation parameters refer to whether or not the script emitted is made selection-relative, if possible, or if it contains object references. By making the script selection-relative, you can apply the recorded script to a different selection, thereby making it more general. Absolute mode always works on the same objects regardless of the current selection.