Thread: Paste Relative
View Single Post
# 1 10-02-2017 , 06:56 AM
Registered User
Join Date: Feb 2016
Posts: 6

Paste Relative

I want to write a command that will paste animation relative to an existing key value.
This works, but if you’re pasting in the middle of a bunch of animation, it will shift the stuff on the right over… it should paste without shifting. Any ideas?

float $currentFrame = `currentTime -query`;
pasteKey -time $currentFrame -option insert -connect 1 -timeOffset 0 -floatOffset 0 -valueOffset 0;
Thank you in advance.