PDA

View Full Version : Select "breakdown" keys


Konata
09-04-2008, 05:59 PM
Hello!

One question:

Currently, I select keyframes from time slider with the "findKeyframe" command. With this command I can select all keys (normal keys + breakdown keys) in "x" frame.

Perfect, but.. how can I select only the breakdown keys?

Thanks!

morobuse1979
09-08-2008, 04:49 AM
hi...

in the docs there is a command called keyframe

it has a flag called breakdown that you can query

for example:

1. Create a polygon sphere
2. set keyframe at 0
3. translate a bit and keyframe at 100
4. go to 50 and breakdown keyframe (i keyframed normally and than converted it to breakdown)

run this command

keyframe -time "0:150" -query -breakdown pSphere1;

you will get back 50 50 50 50 50... for each channel that has keyframes on it...

what u can do is match and compare these result with what you get from the findKeyframe command and thus selecting only the breakdown ones...

hope this helps...

good luck

Konata
09-08-2008, 12:01 PM
I try the command and work fine, thanks!

CGTalk Moderation
09-08-2008, 12:01 PM
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.