Datasheet
3
shelv es A folder that contains default and custom shelves. Each shelf is saved as a file (for
example,
shelf_Animation.mel). This folder is empty until a custom shelf is saved or Maya is
exited for the first time.
The following files are created or updated when Maya is exited or the Save button is
clicked in the Preferences window:
userHotkeys.mel Lists user-defined hot keys.
userNamedCommands.mel Lists commands that have user-defined hot keys assigned to them.
userRunTimeCommands.mel Stores user-defined commands. You can create your own commands
with
runTimeCommand. For example, you can create a command that displays the internal
Maya time in a confirm dialog window by executing the following line in the Script Editor:
runTimeCommand -command (“confirmDialog
-message `timerX`”) WhatTime;
From that point forward, executing WhatTime in the Script Editor pops up a confirm dia-
log window with the system time.
Many of the MEL commands discussed in this book are extremely long and thus must be printed on mul-
tiple lines. In reality, the Script Editor is indifferent to line breaks so long as the end of each command
is indicated by a semicolon. You can open the Script Editor by choosing Window ➔ General Editors ➔
Script Editor. To execute a command in the Script Editor, you must press Ctrl+Enter after typing the
command.
userPrefs.mel Stores global user preferences, including working units, performance settings,
and Timeline options.
windowPrefs.mel Determines the default size and position of non-workspace windows
(Hypergraph, options windows, and so on).
pluginPrefs.m el Lists all autoloaded plug-ins.
The following files are created or updated when custom UI colors are saved through the
Colors window:
userColors.mel, paletteColors.mel, and userRGBColors. userColors.mel
stores user-defined colors defined in the Active and Inactive tabs of the Colors window.
user-
RGBColors.mel
stores colors defined in the General tab of the Colors window. paletteColors
.mel defines the colors that create the index palettes in the Active and Inactive tabs. You can
change an existing palette by double-clicking on a palette swatch and choosing a new color
through the Color Chooser window. The colors are written as RGB values with a 0 to 1 range.
(If custom colors are never selected, these files are not created.) You can open the Colors
window by choosing Window
➔ Settings/Preferences ➔ Color Settings.
Resetting to Factory/Swapping Prefs Files
07405c01.indd 307405c01.indd 3 1/17/07 8:30:46 PM1/17/07 8:30:46 PM