Maya Shortcuts


Delete Preferences
If something is not working right with the software delete the preferences.

Quit Maya
Go to your home/Library/Preferences/Autodesk/Maya/2018/prefs
rename userPrefs.mel to create a backup

If you can not see your Library folder
do this:
Open your home folder (/Users/yourusername) in the Finder. Depending on your Finder settings, this may be as easy as simply opening a new Finder window. Otherwise, choose Home from the Finder's Go menu (Go > Home); or press Shift-Command-H.

Still in the Finder, choose View > Show View Options (or press Command-J).

Near the bottom of the resulting View-Options palette is a setting called Show Library Folder. Enable this option. Your Library folder is immediately visible.  Open Library, Preferences, Autodesk, Maya, 2017, prefs: rename userPrefs.mel,

Quit Maya
Go to Documents\maya\2018\prefs
rename userPrefs.mel to create a backup
restart Maya

Setup a Project Area to work off your external hard drive
Create a folder on your external hard drive, name it something like ucla156_assignments
Maya will create folders in this directory: scenes and images
When you save files they will save to your external drive.
Anytime you switch to a new computer run the Set Project utility again.
Use the exFAT drive format  work across PC and Mac platforms.

In Maya Choose File->Set Project...
Select My Computer
Find your external drive, highlight the ucla156_assignments folder,   choose Set


Know the name of your external drive, change the name to something easy to remember
In Maya Choose File->Set Project...
Type   /Volumes/name of your drive/ucla156_assignments  in top line after Lookin:
Enter key
(You may need to try twice to see the Volumes folder.)

Status Line
- Top Horizontal menu     selection.jpg

shierarchy.jpg     Select by Hierarchy

sobject.jpg     Select Objects type - This is the main one to use

scomponent.jpg     Select by Component - This selects object parts such as CVs

GOOD TRICK: Use Right mouse over anything in Maya to bring up mini menu, good way to pick CVs

Buttons from the Status Bar

      hold down  x while transforming = grid snap

scurvesnap.jpg     hold down  c while transforming = curve snap

spointsnap.jpg     hold down  v while transforming = point snap

ssurfacesnap.jpg     snap to view planes

slive.jpg     live - first pick the object to live, others objects will snap to the live object.

Live is the only method to draw a curve on surface. Use this to sketch particles on a live surface too.

Tool Box - manipulators and shortcuts

    pick     q

    move    w

    rotate    ett

    scale     r

If you highlight the name of a channel like translate Y in the channel box, you can move an object with middle mouse. This is good for any floating point value.

Some More Keyboard Shortcuts
 type t = show manipulator
 type y = last tool used

type z or Ctrl + z = undo, the default is 50, you can raise this with:
  Select Undo
     input Queue Size  60

Shift + z
= redo

1 with an active NURBS object = display wireframe smoothness,
          or Attribute Editor->NURBS Surface Display->Curve Precision 3 etc
2 with an active NURBS object = display wireframe smoothness,
          or Attribute Editor->NURBS Surface Display->Curve Precision  7 etc
3 with an active NURBS object = display wireframe smoothness,
          or Attribute Editor->NURBS Surface Display->Curve Precision  15 etc

4 = display active window wireframe

5 = display active window shaded with default lights

6 = display active window shaded and textured with default lights

7 = display active window shaded with first 8 scene lights

d or Insert key switches a tool box manipulator to pivot manipulator. On the Mac it is the Home key.

Add Any Command to the Shelf:
Select the Custom Tab, hold down the Shift and Ctrl  keys as you select the tool you want on the shelf. 
For example: Hold down the Shift and Ctrl buttons as you select the Display->NURBS->CVs into New Window tool.

Moving Around the Windows:

Rotate or roll
PC: Alt + the left mouse button
roll the camera view.

PC: Alt + the middle mouse button
pans any view or panel.

PC: Alt + the right button
zoom any view or panel.

Rotate or roll

Mac: Option + the left button roll the camera view.

Mac no track pad: Alt + the middle mouse button pans any view or panel.
Mac with a track pad:
     Open Windows/Preferences->Preferences
     Under Interface (The top option) select Two Button Mouse
     Alt + Command + the track pad + the left + middle mouse button pans any view or panel.
     (You only need to hit the track pad the first time you pan.)

Mac: Option + the right button dollys any view or panel
Mac with track pad: Two fingers in track pad zoom in and out

Include the  shift key to constrain horizontal or vertical.

Numerical Input Line:   
If hidden, click this to expand  

Use this icon to specify input type.
If you are using a manipulator tool, such as rotate you can input all three xyz values in the absolute or Relative Numeric Input line. It is located to the far right on the status line. Relative is hidden under the sel arrow. If you type a period instead of a number the object will not change. i.e. If an object is rotated 0, 45, 0, and you input . . 45, the object will be rotated 0, 45, 45.

Absolute or relative transformations button.
Have you noticed when you move an object it moves exactly as input. This is an absolute transformation. For example: Rotate an object 90 degrees, then rotate it 10 degrees. The object will be rotated 10 degrees. An object rotated with a relative transformation would have been rotated 100 degrees. Relative mode adds or multiplies the new transformation to the existing transformation. The software defaults to absolute transformations. Occasionally, you will find a need for relative, especially when working with exact measurements.  It is located to the far right on the status line. Relative mode is hidden under the sel arrow.

MAC: Enable multi-touch input from the trackpad
Maya supports the bluetooth-connected Apple Magic Trackpad or Magic Mouse, as well as the built-in multi-touch trackpad in newer model MacBooks.

Important: If you enable a trackpad as your multi-touch device, in your Macintosh System Preferences, under Trackpad > More Gestures, turn off Swipe between full-screen apps and Mission control to prevent conflicts between the Maya gestures and the default gestures defined for the trackpad.

To enable your trackpad as a gestural input device:
1) In the Devices section of the Interface preferences (Windows > Settings/Preferences > Preferences), set the Use Trackpad preference as follows:

- Set to Cursor and Multi-touch to enable the trackpad as a gestural input device, but continue to use it also as your regular pointing device.
In this mode, 1-finger swipe on the trackpad only moves the cursor and does not tumble the view. To tumble the view, use Shift + 2-finger swipe.

- If you have a secondary input device connected to your MacBook (such as a mouse or non-multi-touch tablet), you can select Multi-touch Gestures Only to use the Trackpad exclusively for gestural input.
In this mode, 1-finger swipe on the trackpad tumbles the camera as well as moving the cursor. To move the cursor without navigating, use Shift + 1-finger swipe.
This lets you use the trackpad for navigation while using your second device for other operations.

Note: Navigation using the trackpad only works when the cursor is over the viewport. Outside of the viewport you can still use the trackpad to click buttons and so on.

Set up Some Preferences for yourself.

Copy and paste these commands into the Windows->General Editors->Script Editor
    //sets animation timing to 30fps
     currentUnit -time ntsc;
     // 0 = play every frame, 1 =change playback to realtime 30fps
     playbackOptions -ps 0;
     //Sets playback bar to 1
     playbackOptions -e -min 1 -max 1000;
     //sets playback to frame start
    //turns off color management
     colorManagementPrefs -edit -cmEnabled 0;
     //turn off the pivot manipulator on the orientation handle.
     prefWndToggleShowPivotManipHandle false;

In the Script Editor run Command->Execute

If you would like this as a command on the shelf:
     Select the Custom shelf
     Highlight the text in the Script Editor
     Drag and drop the text on to the Custom shelf with the middle mouse key

Make Maya Run Faster on a PC
Add these 2 Autodesk Customer Involvement Program (CIP) variables to your user environment, they will turn off messages being sent over the internet:


Lower left Windows Start Menu->Windows System->Control Panel->User Accounts->User Accounts->Change my environment variables
     Select New...
          Paste MAYA_DISABLE_CLIC_IPM=1 into variable name and variable value
     Select New...
          Paste MAYA_DISABLE_CIP=1  into variable name and variable value
Click OK

You can also paste "C:\Windows\system32\rundll32.exe" sysdm.cpl,EditEnvironmentVariables into Run Box to start my environment variables