A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Scale Multiple Keyframe Value
Posted: 29 March 2017 11:59 AM   [ Ignore ]  
Total Posts:  5
Joined  2012-01-06

Hello,
How do I scale multiple keyframe values? Scale vertically on timeline. I would like to grab the selected keyframes on my timeline (see attached image) and move the ones on the top line up (positive), while the ones on the bottom line go down (negative) the same amount inversely.
Thank you,
Greg

Profile
 
 
Posted: 29 March 2017 02:17 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Greg,

There is to my knowledge no option natively given, that would do exactly this. Except, you select all wanted Keyframes, then go to the Attribute manager and in the Key-Value field you type “x*2” for example. (the 2 is of course the variable)

I would use the Region Tool, as shown in this one minute clip: (you can download it for a better viewing experience)
https://www.amazon.com/clouddrive/share/VrYeo0Lo9xgWZB6kqEWvE6sjSD0BG4NhZzzHegzP7w9?ref_=cd_ph_share_link_copy

The key is here to have the top and bottom parts symmetrically of the Region Tool, as in +100 to -100, so the center sits on zero. As shown with two moves one can adjust any selected keyframes at once.

Alternative

Python comes to mind, but handling keyframes is a more complex procedure than it might look.
https://www.cineversity.com/wiki/Python:_DescIDs_and_Animation/

If the scale is the same, then the keyframes move the object like a diagonal, which could be done in Animation mode and along a guideline, e.g., Spline. Which wouldn’t work for rotation or scale of course.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 29 March 2017 04:47 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  5
Joined  2012-01-06

Thank you Dr. Sassi,
Putting the x*2 in the value worked fine. The region approach still seems like eyeballing it though.
Thanks again!
Greg

Profile
 
 
Posted: 29 March 2017 05:05 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Thanks for the feedback, Greg!

Yes the Region Tool could have some numerical adjustments, but it’s quick at least. wink

My best wishes for your project.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile