Resetting to Factory / Swapping Prefs documents Part 2
Ameen | Apr 01, 2011 | Comments 0
Shelves A folder that contains default and custom shelves. Every shelf is saved as a file (for example, shelf _ Animation Mel). This folder is blank until a custom shelf is saved or Maya is exited for the earliest time.
The following documents are formed or modernized when Maya is exited or the Save button is clicked in the Preferences window: user Hotkeys. Mel Lists user-defined hot keys. User Named Commands. Mel Lists commands that have user-defined hot keys assigned to them. UserRunTimeCommands. Mel Stores user-defined commands. You can make your own commands with runtimeCommand. For example, you can generate a command that displays the domestic
Maya time in a verify dialog window by executing the following line in the Script Editor:
RunTimeCommand -command (“confirmDialog -message `timerX`”) WhatTime;
From that point forward, executing What Time in the Script Editor pops up a verify dialog window with the system time.
A lot of of the MEL commands discussed in this tutorial are very lengthy and thus should be written on various lines. In actuality, the Script Editor is unresponsive to line breaks so long as the end of every command is indicated by a semicolon. You can open the Script Editor by choosing Window > General Editors > Script Editor. To implement a command in the Script Editor, you should press Ctrl + Enter after typing the command.
userPrefs.mel Stores worldwide user preferences, including working units, performance settings, and Timeline options.
windowPrefs.mel Determines the default size and place of non-workspace windows
(Hypergraph, options windows, and so on).
pluginPrefs.mel Lists all autoloaded plug-ins.
The subsequent files are shaped or modernized 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 definite in the common tab of the Colors window. paletteColors .mel defines the colors that make the index palettes in the Active and Inactive tabs. You can modify an existing palette by double-clicking on a palette swatch and choosing a fresh color from side to side the Color Chooser window. The colors are written as RGB values with a 0 to 1 variety.
(If custom colors are never chosen, these documents are not shaped.) You can open the Colors window by choosing Window. Settings/Preferences. Color Settings.
Related Posts in this Category
There comes a time in each animator’s life when it’d be good to go back to the past. ...
A lot of Maya books have touched on the customization of shelves within Maya. Nevert ...
One of the majority satisfying fundamentals of MEL scripting is the formation of cus ...
Communiqué is significant to specialized animators, so there are a number of techniq ...
Even though the sphere command has an enormous number of option flags (a flag has a ...
Filed Under: Maya Basics
About the Author:


















