Key all bones?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Key all bones?

Post by mkelley »

First of all, I promise I searched this forum -- I even used Heyvern because I'm almost positive he has mentioned this before -- but I got hundreds of hits and no time to go through all the various threads (hundreds of threads, thousands of messages). Apologies.

I'm looking for a way to press a single key to key all the bones on a layer -- it's getting to be a real PITA to have to select the various bones and make sure the rotations and transforms and such are all keyed before I start to key again. There *should* be a way to do this in the base AS, but I don't see anything like this and am hoping this is an easy script function that's already been written.

So... in essence I'm looking for a "freeze" type script that will hold all the bones in a layer's present position -- did I dream this up or isn't this so basic that Heyvern has mentioned it a dozen or more times?
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

I don't know if I understood you. do you want to create a keyframe for all bones in a layer?

if you see the timeline, there are two lines for almost all channels. when you create a keyframe in the red one (right click on the red line>add keyframe), all the bones selected will be keyed. if you create a keyframe in the other line, absolutely all the bones will be keyed.

it's the same for points, shapes, bones angle and position.

(anyway, i remember there is somewhere a toolscript pack wich creates keyframes for the bones)
User avatar
fiziwig
Posts: 197
Joined: Fri Jan 04, 2008 8:00 am

Post by fiziwig »

Unless I'm mistaken, the Copy Current Frame option under the Animation menu will do that. Just copy the current frame TO the current frame.

--gary
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

Neither of those will do what I want -- a *simple* method of keying all the bones (ideally with just a key press but I'll settle for a button press).

The first one requires first I be in bone mode (press B) then select all bones (ctrl-A) then press a finicky set key on BOTH the rotation and transform links -- way too fussy.

The second one requires I both select the rotation and transform boxes for bones as well as type in the frame number I want to copy to (and it doesn't hold the check boxes so I need to check them every single time) -- again, way too much work.

I just want a simple key or button press to key all bones -- surely this must be scriptable. Anyone know where I can find this?
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

i don't know if I didn't understand or you didn't understand.
User avatar
mkelley
Posts: 1647
Joined: Fri Nov 02, 2007 5:29 pm
Location: Sunny Florida
Contact:

Post by mkelley »

I understood you but I'm saying it requires *way* too many keypresses and selections -- at least three and possibly four or five (or more) as well as the fiddly problem of trying to press the mouse *right* at the right line.

But no matter -- I found the script I wanted. I had to modify it (because the default was step mode) as well as assign it a key (I used "K") but it works great -- I just press "K" and it does all I want.

One of these days I need to study scripting...
Post Reply