8
Running Scripts from the Command Line 827
Note:
Command line -U MAXScript startup scripts
are run
after
3ds Max has completely booted and
the standard scripts and startup scripts have been
run.
MAXScr ipt Command-Line Switches
The following switches work specifically with
MAXScript files and funct ions.
Switch Ef fect
-mip
Starts 3ds Max in a minimized mode – but
never allows you to open the window for
interactive usage.
-mxs
This switch is esse ntially the same as
-U
MAXScript file.ms
, but avoids the need for
the .ms file. You can follow the switch w ith
MAXScript commands.
-silent Comparable to the MAXScript command,
setSilentMode
,thisswitchsuppressesall
MAXScript and 3ds Max UI dialogs so that
batch sc ripts sp e c ifie d by the –U command
do not get interrupted.
-u MAXScript
<filename>
Opens a specified MAXSc r ip t file.
Examples of desired syntax usage:
See the online
User Reference
to view these code
samples