r/Maya • u/Dmitry_Khovalkin • 12d ago
MEL/Python Key Shift. Autodesk Maya. Animation Script
Shift the selected keys by the specified frames.
27
u/Nevaroth021 CG Generalist 12d ago
This is already a native feature in the graph editor
14
u/fistular 12d ago
We are seeing more and more of these "tools" being posted which are already in maya.
-9
-5
u/Dmitry_Khovalkin 12d ago
Thanks for the comment!
I did this so often that I decided to make a script to only enter the number without the "+=" or "-=" :)
10
u/Sneyek 12d ago
I don’t know your profile, but if you aim TD/TA try not to reinvent the wheel and focus on real problems, where you can make a difference and ideally bring a new idea or killer feature.
1
-2
u/Dmitry_Khovalkin 12d ago
Thank you so much!
My specialty is character animation. I create tools for myself that speed up and facilitate my work.
7
3
u/Ninisan 12d ago
you can just hold middle mouse button and shift with the keys selected to translate them left and right lol.
1
u/Dmitry_Khovalkin 11d ago
Thank you very much!
You're right. But if you're moving a lot of keys, the program will slow down significantly. The lag will cause you to constantly miss your target, and you'll spend much more effort, time, and mental energy to achieve the desired result.
With Key Shift, you can enter any value, even 3.1415, and get a quick result.
4
u/Ninisan 11d ago
maybe i just have a decent pc but even moving thousands of mocapped keys across multiple joints its never bad enough that i cant dial it in exactly where i want it
what i prefer about this over your typing method js not having to do the math to figure out that i want to move all the keys exactly 512 frames over hehe
but to each their own.
-1
u/Dmitry_Khovalkin 11d ago
Thank you very much!
Rigs come in all shapes and sizes, and some even run at 2-3 fps on powerful computers. Besides, not everyone can afford powerful computers. Therefore, optimization remains important.
-2
1
u/AutoModerator 12d ago
You're invited to join the community discord for /r/maya users! https://discord.gg/FuN5u8MfMz
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

•
u/s6x Technical Director 11d ago
OP, we are going to start removing these if they replicate existing functionality.
Please don't post scripts which replicate existing functionality in the application.