Page 1 of 1

Key all bones?

Posted: Fri Feb 01, 2008 1:13 am
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?

Posted: Fri Feb 01, 2008 1:47 am
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)

Posted: Fri Feb 01, 2008 1:49 am
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

Posted: Fri Feb 01, 2008 4:24 am
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?

Posted: Fri Feb 01, 2008 4:27 am
by Víctor Paredes
i don't know if I didn't understand or you didn't understand.

Posted: Fri Feb 01, 2008 4:55 am
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...