9

834 Chapter 22: Customizing the User Interface
the default .5 degrees. T he lower this value, the
more mouse movement is needed to rotate objects.
Viewport Arc Rotate Snap AngleSets the amount
of rotation in degrees.
Turn on Angle Snap on the main toolbar,
and then use Arc Rotate (page 3–744) to rotate
a viewport. The viewport rotation snaps by the
value set here. The Arc Rotate cursor displays a
smallmagnetintheupperlefttoindicatethat
Angle Snap is turned on.
MAXScript Preferences
Customize menu > Preferences > Preference Settings
dialog > MAXScript tab
On the MAXScript panel of the Preference Settings
dialog, you set MA X Script and Macro Recorder
preferences, enable or disable auto-loading of
scripts, set the initial heap size, change font
sty le and size used in the MAXScript editor, and
manage all the settings for the Macro Recorder.
You can also change these settings by edit ing the
[MAXScript] section of the 3dsmax.ini file.
Note: Two p aths to supp or t auto-startup s cr ipts are
on the Configure User Paths dialog (page 3–808)
and Configure System Paths dialog (page 3–810):
..\scripts and ..\scripts\startup.Ifyouprefertostart
scripts from a different director y, you can change
these default directories with the corresponding
Customize menu commands.
Choose Help > MA XScript Reference for details
on MAXScript.
Interfa ce
Startup group
You can start scripts automatically in two ways.
You can create a file named startup.ms that
con tains your startup code. MAXScript searches
for this file in the scripts directory first, then the
3ds Max root directory, and finally the directories
specified in the Windo ws PATH environment
variable. MAXScr ipt stops searching af ter it finds
the first occurrence of startup.ms.
Yo u c a n a l s o p l a c e t h e s c r i p t f i l e s y o u w a n t
auto-loaded into the \startup directory inside the
\scripts directory. MAXScript loads any script file
w ith the file name extension .ms or any encrypted
script file with file name extension .m se.
If you have both a startup.ms file and auto-load
files in t he \startup directory, MAX Scr ipt always
loads startup.ms first.
Load Star tup Scripts—Loads scripts automat ically
when 3ds Max starts.
Loa d/Sav e S cene S cr i pts Enables Scene Script
loading and saving.
Load/Save Per sis tent Gl obal s—Enables load and
save Persistent Globals.