Hotkeys

Definedhotkeys

Zoo Python Hotkeys

Example use:

from zoo.libs.maya.cmds.hotkeys import definedhotkeys
definedhotkeys.open_zooMirrorGeo(advancedMode=False)

Author: Andrew Silke

createCamRooXzy()

Creates a camera and changes it’s rotate order to zxy

createCubeMatch()

Creates a cube and will match it to the selected object if an object is selected

createCylinderMatch()

Creates a cylinder and will match it to the selected object if an object is selected

createPlaneMatch()

Creates a plane and will match it to the selected object if an object is selected

createSphereMatch()

Creates a plane and will match it to the selected object if an object is selected

createNurbsCircleMatch()

Creates a small locator with handle and will match it to the selected object if an object is selected

createLocatorMatch(handle=False, locatorSize=1.0)

Creates a locator and will match it to the selected object if an object is selected

createCenterPivot(handle=True, locatorSize=0.1)

Creates a small locator with handle and will match it to the selected object if an object is selected

createCvCurveTool()

Create a CV NURBS curve with 3 degree spans

createSelectionSet()

Creates a selection set with a warning if in earlier versions of Maya. User must create through the menu for the hotkey to become available.

snapToProjectedCenter(state=True)

Turn snap to projected center on or off

Parameters:

state (bool) – Turn the snap on or off?

displayMarkingMenuPress()
displayMarkingMenuRelease()
lightMarkingMenuPress(alt=False, shift=False, ctrl=False)

Lights Marking Menu : Press

lightMarkingMenuRelease()

Lights Marking Menu : Release

shaderMarkingMenuPress(alt=False, shift=False, ctrl=False)

Shader Marking Menu : Press

shaderMarkingMenuRelease()

Shader Marking Menu : Release

selectionSetMarkingMenuPress(alt=False, shift=False, ctrl=False)

Selection Set Marking Menu : Press

selectionSetMarkingMenuRelease()

Selection Set Marking Menu : Release

constraintMarkingMenuPress(alt=False, shift=True, ctrl=False)

Constraint Marking Menu : Press

constraintMarkingMenuRelease()

Constraint Marking Menu : Release

skinMarkingMenuPress(alt=False, shift=True, ctrl=False)

Skin Marking Menu : Press

skinMarkingMenuRelease()

Skin Marking Menu : Release

deformerMarkingMenuPress(alt=False, shift=True, ctrl=False)

Deform Marking Menu : Press

deformerMarkingMenuRelease()

Deform Marking Menu : Release

jointControlMarkingMenuPress(alt=False, shift=True, ctrl=False)

Joints and Controls Marking Menu : Press

jointControlMarkingMenuRelease()

Joints and Controls Marking Menu : Release

motionTrailMarkingMenuPress(alt=False, shift=False, ctrl=False)

Motion Trail Marking Menu : Press

motionTrailMarkingMenuRelease()

Motion Trail Marking Menu : Release

subDMarkingMenuPress(alt=False, shift=False, ctrl=False)

Motion Trail Marking Menu : Press

subDMarkingMenuRelease()

Motion Trail Marking Menu : Release

animationMarkingMenuPress(alt=False, shift=False, ctrl=False)

Animation Marking Menu : Press

animationMarkingMenuRelease()

Animation Marking Menu : Release

graphEditorMarkingMenuPress(alt=False, shift=False, ctrl=False)
graphEditorMarkingMenuRelease()

Animation Marking Menu : Release

hotkeySetToggle()

Toggles through all the zoo hotkey sets and user sets

reloadZooTools()

Reloads Zoo Tools for developers

selectModeMel()
lassoSelectMel()
paintSelectMel()
selectContiguousEdges()
selectShortestPathMel()
selectSimilarMel()
selectContiguousEdgesOptions()
softSelectToggleMel()
softSelectVolume()
softSelectSurface()
toVerticesMel()
toVertexFacesMel()
toVertexPerimiterMel()
toEdgesMel()
toEdgeLoopMel()
toEdgeRingMel()
toContainedEdgesMel()
toEdgePerimiterMel()
toFacesMel()
toFacePathMel()
toContainedFacesMel()
toFacePerimiterMel()
toUVsMel()
toUVShellMel()
toUVShellBorderMel()
toUVPerimiterMel()
toUVEdgeLoopMel()
alignSelection()

Match Align based on selection (rotation and translation)

Matches to the first selected object, all other objects are matched to the first in the selection

mirrorInstanceGroupWorldX()

mirror instances an object across world X

mirrorPolygonPlus()

Mirrors polygon with special zero edge or vert selection, plus smooth all edges and delete history

uninstanceSelected()

Uninstances the selected object

uninstanceAll()

Uninstances all instances in the scene

createPolygonSphereMel()
createPolygonCubeMel()
createPolygonCylinderMel()
createPolygonPlaneMel()
createPolygonTorusMel()
createPolygonConeMel()
createPolygonDiskMel()
createPolygonFacesMel()
createPlatnonicSolidMel()
createPolygonPyramidMel()
createPolygonPrismMel()
createPolygonPipeMel()
createPolygonHelixMel()
createPolygonGearMel()
createPolygonSoccerBallMel()
createPolygonSuperEllipseMel()
createPolygonSphericalHarmonicsMel()
createPolygonUltraShapeMel()
createSweepMeshMel()
createPolygonTypeMel()
createPolygonSVGMel()
duplicateMel()
duplicateOffsetMel()
duplicateInputGraphMel()
duplicateInputConnectionsMel()
duplicateOpenOptionsMel()
duplicateFaceMel()
instance()
boolDifferenceATakeBMel()
boolDifferenceBTakeAMel()
boolUnionMel()
boolIntersectionMel()
boolSiceMel()
boolHolePunchMel()
boolCutOutMel()
boolSplitEdgesMel()
combineMel()
separateMel()
extractMel()
parentMel()
unparentMel()
groupMel()
ungroupMel()
toggleEditPivotMel()
bakePivotMel()
matchPivot()
centerPivotMel()
freezeTransformationsMel()
unfreezeTransformations()
deleteHistoryMel()
deleteNonDeformerHistoryMel()
freezeMatrixModeller()
freezeMatrixAll()
unfreezeMatrix()
extrudeToolMel()
bevelToolMel()
bevelToolMelRounded()
bevelToolMelChamferOff()
quadDrawToolMel()
makeLiveMelQuadDraw()
makeLiveMel()
makeLiveOffMel()
bridgeToolMel()
fillHoleToolMel()
appendToolMel()
wedgeToolMel()
chamferVertexToolMel()
multiCutToolMel()
edgeFlowToolMel()
connectToolMel()
edgeLoopToFromToolMel()
offsetEdgeLoopToolMel()
pokeToolMel()
mergeCenterToolMel()
mergeToVertToolMel()
mergeToleranceToolMel()
collapseEdgeRingToolMel()
deleteEdgeToolMel()
makeHoleToolMel()
circularizeToolMel()
spinEdgeToolMel()
conformToolMel()
averageVerticesToolMel()
smoothMeshDisplayOnMel()
smoothMeshDisplayHullMel()
smoothMeshDisplayOffMel()
smoothMeshPreviewToPolygonsMel()
smoothPolyMel()
divideMel()
retopologizeMel()
retopologizeOptionsMel()
remeshMel()
remeshOptionsMel()
reduceMel()
reduceOptionsMel()
unSmoothMel()
unSmoothOptionsMel()
triangulateMel()
quadragulateMel()
creaseToolMel()
uncreaseAll()

Removes all crease nodes in the history of the selected objects.

selectCreasedEdges()
spinEdgeMel()
softenEdgesMel()
hardenEdgesMel()
unlockVertexNormalsMel()
lockVertexNormalsMel()
conformFaceNormalsMel()
reverseFaceNormalsMel()
averageVertexNormalsMel()
vertexNormalToolMel()
transferVertexNormalsWorld(space='world')
transferVertexNormalsLocal(space='local')
transferVertexNormalsUv(space='uv')
transferVertexNormalsComponent(space='component')
sculptBrushWithAlpha(brush='SetMeshSculptTool', stampImage='v_wrinkle_vdm.tif')

Opens the Sculpt Tool and sets the v_wrinle_vdm.tif stamp

sculptToolMel()

Opens the Sculpt Tool with no stamp

sculptToolKnifeMel()

Opens the Sculpt Tool and sets the v_wrinle_vdm.tif stamp

sculptToolDirectionalPinchMel()

Opens the Sculpt Tool and sets the v_directionalPinch_vdm.tif stamp

sculptToolEdgeMel(flipY=False)

Opens the Sculpt Tool and sets the v_edge_vdm.tif stamp

sculptToolFoldMel()

Opens the Sculpt Tool and sets the v_fold_vdm.tif stamp

sculptToolTubeMel()

Opens the Sculpt Tool and sets the v_tube_vdm.tif stamp

smoothToolMel()

Opens the Smooth Sculpt Tool

relaxToolMel()

Opens the Sculpt Tool

grabToolMel()

Opens the Sculpt Tool

pinchToolMel()

Opens the Sculpt Tool

flattenToolMel()

Opens the Sculpt Tool

foamyToolMel()

Opens the Sculpt Tool

sprayToolMel()

Opens the Sculpt Tool

repeatToolMel()

Opens the Sculpt Tool

imprintToolMel()

Opens the Sculpt Tool

waxToolMel()

Sets the Wax Tool

waxToolMelHardAlpha()

Sets the Wax Tool with bw_strip.tif alpha

waxToolMelSquareAlpha()

Sets the Wax Tool with bw_square.tif alpha

scrapeToolMel()

Opens the Sculpt Tool

fillToolMel()

Opens the Sculpt Tool

knifeToolMel()

Opens the Sculpt Tool

smearToolMel()

Opens the Sculpt Tool

bulgeToolMel()

Opens the Sculpt Tool

amplifyToolMel()

Opens the Sculpt Tool

freezeToolMel()

Opens the Sculpt Tool

unfreezeToolMel()

Opens the Sculpt Tool

invertFreezeToolMel()

Opens the Sculpt Tool

convertToFrozenToolMel()

Converts vert selection to frozen sculpt mask

sculptFalloffSurfaceVolumeMel()
sculptFalloffSurfaceMel()
sculptFalloffVolumeMel()
createLatticeMel()
createLatticeMelOptions()
createBendDeformerMel()
createBendDeformerMelOptions()
createTwistDeformerMel()
createTwistDeformerMelOptions()
createWaveDeformerMel()
createWaveDeformerMelOptions()
createFlareDeformerMel()
createFlareDeformerMelOptions()
toggleToolSettings()

Toggles the tool settings window

open_hiveArtistUI()

Opens the Hive Artist UI Window

open_hiveNamingConvention()

Opens the Hive Naming Convention UI Window

open_zooGpt()

Opens the Zoo GPT UI Window

open_zooHotkeyEditor()

Opens the Zoo Hotkey Editor toolset tool

open_zooPreferences()

Opens the Zoo Preferences toolset tool

open_objectsToolbox(advancedMode=False)

Opens the Objects Toolbox toolset tool

open_modelingToolbox(advancedMode=False)

Opens the Modeling Toolbox toolset tool

open_zooMirrorGeo(advancedMode=False)

Opens the Mirror Geo toolset tool

open_topologyNormalsToolbox(advancedMode=False)

Opens the Topology and Normals Toolbox toolset tool

open_sculptingToolbox(advancedMode=False)

Opens the Sculpting Toolbox toolset tool

open_modelingAlign(advancedMode=False)

Opens the Modeling Align toolset tool

open_randomizeObjects(advancedMode=False)

Opens the Randomize Objects toolset tool

open_curveDuplicate(advancedMode=False)

Opens the Duplicate Along Curve toolset tool

open_tubeFromCurve(advancedMode=False)

Opens the Tube From Curve toolset tool

open_thickExtrude(advancedMode=False)

Opens the Thick Extrude toolset tool

open_subDSmoothControl(advancedMode=False)

Opens the SubD Smooth Control toolset tool

open_objectCleaner(advancedMode=False)

Opens the Object CLeaner toolset tool

open_select(advancedMode=False)

Opens the Select toolset tool

open_replaceShapes(advancedMode=False)

Opens the Replace Shapes toolset tool

open_controlCreator(advancedMode=False)

Opens the Control Creator toolset tool

open_editControls(advancedMode=False)

Opens the Edit Controls toolset tool

open_colorOverrides(advancedMode=False)

Opens the Color Overrides toolset tool

open_jointTool(advancedMode=False)

Opens the Joint Tool toolset tool

open_jointsOnCurve(advancedMode=False)

Opens the Joints On Curve toolset tool

open_splineRig(advancedMode=False)

Opens the Spline Rig toolset tool

open_controlsOnCurve(advancedMode=False)

Opens the Controls On Curve toolset tool

open_motionPathRig(advancedMode=False)

Opens the Motion Path Rig toolset tool

open_twistExtractor(advancedMode=False)

Opens the Twist Extractor toolset tool

open_skinningUtilities(advancedMode=False)

Opens the Skinning Utilities toolset tool

open_replaceJointWeights(advancedMode=False)

Opens the Replace Joint Weights toolset tool

open_riggingMiscellaneous(advancedMode=False)

Opens the Skinning Utilities toolset tool

open_reparentGroupToggle(advancedMode=False)

Opens the Reparent Group Toggle toolset tool

open_scenesBrowser(advancedMode=False)

Opens the Maya Scenes toolset tool

open_mayaScenes(advancedMode=False)

Legacy hotkey

open_alembicAssets(advancedMode=False)

Opens the Alembic Assets toolset tool

open_modelAssets(advancedMode=False)

legacy hotkey

open_thumbnailScenes(advancedMode=False)

Opens the Thumbnail Scenes toolset tool

open_zooRenamer(advancedMode=False)

Opens the Zoo Renamer toolset tool

open_zooSelectionSets(advancedMode=False)

Opens the Zoo Selection Sets toolset tool

open_makeConnections(advancedMode=False)

Opens the Attribute Connections toolset tool

open_channelBoxManager(advancedMode=False)

Opens the Channel Box Manager toolset tool

open_manageNodes(advancedMode=False)

Opens the Manage Nodes toolset tool

open_matrixTool(advancedMode=False)

Opens the Matrix Tool toolset tool

open_manageNodesPlugins(advancedMode=False)

Opens the Matrix Tool toolset tool

open_nodeEditorAlign(advancedMode=False)

Opens the Node Editor Align toolset tool

open_aimAligner(advancedMode=False)

Opens the Aim Aligner toolset tool

open_zooShelfFloatingWindow()
open_cameraManager(advancedMode=False)

Opens the Camera Manager toolset tool

open_imagePlaneTool(advancedMode=False)

Opens the Image Plane Tool toolset tool

open_imagePlaneAnim(advancedMode=False)

Opens the Animate Image Plane toolset tool

open_focusPuller(advancedMode=False)

Opens the Focus Puller toolset tool

open_generalAnimationTools(advancedMode=False)

Opens the General Animation toolset tool

open_graphEditorTools(advancedMode=False)

Opens the Graph Editor Toolbox toolset tool

open_changeRotationOrders(advancedMode=False)

Opens the Change Rotation Orders toolset tool

open_tweenMachine(advancedMode=False)

Opens the Tween Machine toolset tool

open_tweenMachinePopup(cursorOnSlider=False, clickOffClose=False)

Opens the mini popup version of the Tween Machine tool.

Parameters:
  • cursorOnSlider (bool) – If True opens window with the mouse pointer on the slider instead of the window bar.

  • clickOffClose (bool) – If True clicking off the window will close it. False the window will stay open.

open_bakeAnimation(advancedMode=False)

Opens the Bake Animation toolset tool

open_numericRetimer(advancedMode=False)

Opens the Numeric Retimer toolset tool

open_keyRandomizer(advancedMode=False)

Opens the Randomize Keys toolset tool

open_scaleKeysFromCenter(advancedMode=False)

Opens the Scale Keys From Center Values toolset tool

open_cycleAnimationTools(advancedMode=False)

Opens the Cycle Animation toolset tool

open_createTurntable(advancedMode=False)

Opens the Create Turntable toolset tool

open_animationPaths(advancedMode=False)

Opens the Animation Paths toolset tool

open_nclothwrinklecreator(advancedMode=False)

Opens the NCloth Wrinkle Creator toolset tool

open_lightPresets(advancedMode=False)

Opens the Light Presets toolset tool

open_hdriSkydomeLights(advancedMode=False)

Opens the HDRI Skydome toolset tool

open_directionalLights(advancedMode=False)

Opens the Directional Lights toolset tool

open_editLights(advancedMode=False)

Opens the Edit Lights toolset tool

open_areaLights(advancedMode=False)

Opens the Area Lights toolset tool

open_placeReflection(advancedMode=False)

Opens the Place Reflection toolset tool

open_fixViewport(advancedMode=False)

Opens the Fix Viewport toolset tool

open_viewportLight(advancedMode=False)

Legacy hotkey

open_transferUvs(advancedMode=False)

Opens the Transfer UVs toolset tool

open_unwrapTube(advancedMode=False)

Opens the UV Unfold toolset tool

open_uvUnfold(advancedMode=False)

Opens the UV Unfold toolset tool

open_convertRenderer(advancedMode=False)

Opens the Convert Renderer toolset tool

open_renderObjectDisplay(advancedMode=False)

Opens the Render Object Display toolset tool

open_shaderPresetsMa(advancedMode=False)

Opens the Shader Presets (.MA/.MB) toolset tool

open_mayaShaders(advancedMode=False)

Legacy hotkey

open_shaderPresetsMultRenderer(advancedMode=False)

Opens the Shader Presets Multi-Renderer toolset tool

open_shaderPresets(advancedMode=False)

legacy hotkey

open_shaderManager(advancedMode=False)

Opens the Shader Manager toolset tool

open_convertShaders(advancedMode=False)

Opens the Convert Shaders toolset tool

open_randomizeShaders(advancedMode=False)

Opens the Randomize Shaders toolset tool

open_shaderSwapSuffix(advancedMode=False)

Opens the Shader Swap Suffix toolset tool

open_hsvOffset(advancedMode=False)

Opens the HSV Offset shader toolset tool

open_hsvOffsetPopup()

Opens the mini popup version of the hsv offset tool.

open_displacementCreator(advancedMode=False)

Opens the Displacement Creator toolset tool

open_createMattesAovs(advancedMode=False)

Opens the Convert Renderer toolset tool

open_matchSwatchSpace(advancedMode=False)

Opens the Match Swatch Color Space toolset tool

open_hiveRefModelSkel(advancedMode=False)

Opens the Hive Reference Model Skeleton toolset tool

open_hiveExportFbx(advancedMode=False)

Opens the Hive Export FBX toolset tool

open_hiveMirrorPasteAnim(advancedMode=False)

Opens the Hive Mirror Paste Anim toolset tool

open_hiveGuideAlignAndMirror(advancedMode=False)

Opens the Hive Guide Align and Mirror toolset tool

hiveToggleControlPanelNodesSel()

Toggles the selection of the control panel nodes, if they are selected it will deselect them, if they are not

open_iconLibrary(advancedMode=False)

Opens the Icon Library toolset tool

animSelectHierarchy()

Selects all animated nodes in the selected hierarchy

animSelectScene()

Selects all animated nodes in the scene

animSelectSelection()

Filters all animated nodes in the current selection

setKeyframeChannelBox()

Keys the selected attrs or if nothing is selected keys all attrs

setKeyAll()

Sets a key on all attributes ignoring any Channel Box selection.

animMakeHold()

Creates a held pose with two identical keys and flat tangents intelligently from the current keyframes

toogleKeyVisibility()

Reverses the visibility of an object in Maya and keys it’s visibility attribute

resetAttrs()

Resets attributes in the channel box to defaults

bakeKeys()

Bakes animation keyframes using bake curves or bake simulation depending on the selection

eulerFilter()

Perform Maya’s Euler Filter on selected objects rotation values

createMotionTrail(nameAsObject=True, trailDrawMode=2, showFrames=False, showFrameMarkers=True, frameMarkerSize=1, frameMarkerColor=(0.0, 1.0, 1.0), keyframeSize=2.0, selectOriginal=True, replaceOld=True, suffixNameFrames=False)

Creates a motion trail on the selected object and changes the draw mode to alternating frames

openGhostEditor()

Opens Maya’s Ghost Editor Window

jumpKeySelectedTime()

Changes the current time in the graph editor (Maya timeline) to match to the closest selected keyframe

keySnapToTime()

Moves the selected keys to the current time. The first keyframe matching, maintains the spacing of selection

selectObjFromFCurve()

Selects an object from an fCurve

snapKeysWholeFrames()

Snaps the selected keys to whole frames.

toggleInfinity()

Toggles infinity on and off in the Graph Editor

cycleInfinity()

Cycles the selected objects, with standard cycle option pre and post.

removeCycleAnimation()

Cycles the selected objects, with standard cycle option pre and post.

copyKeys()

Snaps the selected keys to whole frames.

pasteKeys()

Snaps the selected keys to whole frames.

playPause()

Regular Maya play pause hotkey

playReversePause()

Regular Maya play pause hotkey

animMoveTimeBack5Frames()

Moves the time slider backwards by 5 frames.

animMoveTimeForwards5Frames()

Moves the time slider forwards by 5 frames.

playRangeStart()

Sets the range slider start to be the current frame in time

playRangeEnd()

Sets the range slider end to be the current frame in time

timeRangeStart()

Sets the time-range start to the current time.

timeRangeEnd()

Sets the time-range end to the current time.

displayToggleTextureMode()

Toggles the texture viewport mode, will invert. Eg. if “on” turns “off”

displayToggleWireShadedMode()

Toggles the texture viewport mode, will invert. Eg. if “on” turns “off”

displayToggleLightingMode()

Toggles the light viewport mode, will invert. Eg. if “on” turns “off”

displayToggleWireOnShadedMode()

Toggles the ‘wireframe on shaded’ viewport mode. Will invert. Eg. if “shaded” turns “wireframeOnShaded”

displayToggleXrayMode()

Toggles the xray viewport mode. Will invert. Eg. if “xray on” turns “xray off”

selectCamInView()

Selects the camera under the pointer or if an error, get the camera in active panel, if error return message

zooCycleBackgroundColors()

Adds additional colors to “alt b” which adds more dark colors while cycling through viewport background colors

cyclePerspCameras(limitPerspective=True)

Cycles the main view through all cameras in the scene, default skips orthographic cams

selectHierarchy()

Select all children in the hierarchy

selectNodeOrShaderAttrEditor()

Selects the shader or the selected nodes:

  1. Selects the node if selected in the channel box and opens the attribute editor

  2. Or if a transform node is selected, select the shaders of the current selection and open attr editor

openNamespaceEditor()

Opens the namespace editor