PDA

View Full Version : How to Select all the bones with a click of a button?


Kristine
04-24-2002, 02:01 PM
I am currently starting to animate my model now.. I was wondering if there's a way to select all the bones with a click of a button, so that I can save key on those selected joints all at once without going to each joint one by one and save key there.

Does anyone know? Please teach me... Thanks. .^_^

DrAdamDinosaur
04-24-2002, 03:10 PM
one way you could do it is by opening up your script editor, clearing its history, selecting each of the bones individually then going back to the script editor, highligh all the text and middle mouse drag it into the shelf. This will make a mel script so when ever you press it it selects all the bones. you can easily select all the bones by opening up the outliner, fully extending the bones tree (shift click) highlighting the root joint and then shift selecting the last joint (must be done in t he outliner)

Goob
04-24-2002, 03:23 PM
try this small script:


select nameOfRootbone;
select -hi;




cheers

goob.

fxjeane
04-25-2002, 11:10 PM
Dear Kristine:
If what you are trying to do is get maya to set a keyframe for all the joints or "animation controls" of your model, then what you need is to create a CHARACTER SET.

To do this you need to follow several steps.

1.- Hide from the channel box any channel that will not need animation. For example joints usually are only animated by rotation. So go to windows>general editors>Channel control and hide all the channels you dont need.

2.- once you have hidden those channels select all your bones or animation controls and go to Character>Create character set>options. Here give the name you would like for your character and change the settings to "From channel box" then click on create.

What this will do is put all the keyable channels into one single node. To animate your character just select it from the drop down list that is next to the little hey icon in the Range Slider.

Once the character is set you can use the keyframe command or the auto keyframe toggle. Maya will create a keyframe for every channel in your character set. This is cool but a lot of times you will end up with keyframes in channels that their values are not being changed.
In that case just open your graph editor and apply a simplify curve command.

I Hope that helps

Cheers
Fxjeane

Kristine
04-26-2002, 01:06 AM
Thanks for all the replies.. I have finally solve my problems... ^_^:thumbsup:

CGTalk Moderation
01-13-2006, 04:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.