Advertisement
FlippedNormals

Maya - Useful hotkeys (including scripts)

Feb 8th, 2018
2,956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement