SHARE
TWEET

Maya - Useful hotkeys (including scripts)

FlippedNormals Feb 8th, 2018 829 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Maya - Useful hotkeys (including scripts)
  2. All these should be added as MEL commands in you hotkey editor.
  3. ----------------------------------------------------------------------
  4.  
  5. - Isolate Selected - ALT + Q
  6. //Toggle Isolate Selected in Current Panel
  7. $currentPanel = `getPanel -withFocus`;
  8. $state = `isolateSelect -q -state $currentPanel`;
  9. if ($state == "0")
  10.     {
  11.     enableIsolateSelect $currentPanel 1;
  12.     }
  13. else
  14.     {
  15.     enableIsolateSelect $currentPanel 0;
  16.     }
  17.  
  18.  
  19. - Xray selected object - ALT + X
  20. dR_objectXrayTGL
  21.  
  22. - Xray all objects - CTLR + ALT + X
  23. dR_viewXrayTGL
  24.  
  25.  
  26. - Center pivot to object - CTRL + ALT + C
  27. xform -cp;
  28.  
  29. - Center pivot to world - ALT + C
  30. xform -ws -a -rp 0 0 0 -sp 0 0 0;
  31.  
  32.  
  33. - Show Outliner - O
  34. OutlinerWindow;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top