Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
To change the value in the Graph Editor, use SHIFT + MMB (middle mouse button) and move vertically up and down to change the value.
To change the timing in the Graph Editor, use SHIFT + MMB and move horizontally left and right to change the timing.
My complaint is that the judgment of whether the mouse cursor is moved vertically or horizontally while pressing SHIFT + MMB in the Graph Editor is very strict.
Depending on the angle of the mouse cursor, the timing moves when you originally wanted to move the value. The opposite also happens.
The commands in this link allowed me to change the timing back and forth on one frame with a hotkey. So it made my work very convenient.
This time I want to increase or decrease the value, plus or minus 1.0 increments.
the result of Echo All Commands
//Increases the value of a key that is selected in the Graph Editor.
selectKey -clear ;
selectKey -add -k -t 1 pCube1_translateZ ;
doUpdateTangentFeedback;
dR_updateCounter;
updateAnimLayerEditor("AnimLayerTab");
statusLineUpdateInputField;
if (!`exists polyNormalSizeMenuUpdate`) {eval "source buildDisplayMenu";} polyNormalSizeMenuUpdate;
ikSelectionChanged("MayaWindow|mainKeysMenu|menuItem1991|ikFKStateItem");
ilrUpdateSpreadSheetEditor;
ilrUpdateAEDeferred;
dR_updateCommandPanel;
ilrUpdateAE;
keyframe -e -iub true -r -o over -vc 1.715638 -t 1 pCube1_translateZ ;
doUpdateTangentFeedback;
//Decreases the value of a key that is selected in the Graph Editor.
selectKey -clear ;
selectKey -add -k -t 1 pCube1_translateZ ;
doUpdateTangentFeedback;
dR_updateCounter;
updateAnimLayerEditor("AnimLayerTab");
statusLineUpdateInputField;
if (!`exists polyNormalSizeMenuUpdate`) {eval "source buildDisplayMenu";} polyNormalSizeMenuUpdate;
ikSelectionChanged("MayaWindow|mainKeysMenu|menuItem1991|ikFKStateItem");
ilrUpdateSpreadSheetEditor;
ilrUpdateAEDeferred;
dR_updateCommandPanel;
ilrUpdateAE;
keyframe -e -iub true -r -o over -vc -1.797335 -t 1 pCube1_translateZ ;
doUpdateTangentFeedback;
Common commands are,
keyframe -e -iub true -r -o over -vc 1.715638 -t 1 pCube1_translateZ ;
I converted it from MEL to Python in my own way,
import maya.cmds as cmds
cmds.ls(sl = True)
cmds.keyframe(edit = True, iub = True, r = True, o = over, vc = 1, t = 1)
But the result is.
# Error: NameError: file <maya console> line 4: name 'over' is not defined
Any help you can lend would be greatly appreciated.
Thanks,
Solved! Go to Solution.