PDA

View Full Version : Graph Editor > Show > Attributes > Keyable


Michael Chen
04-13-2008, 01:59 AM
Hi everyone,

I'm trying to set a hotkey/marking menu for "Graph Editor > Show > Attributes > Keyable", however I couldn't find this in the hotkey list. I'm hoping that it's possible through some MEL script, however I had no luck in finding the code from the help files or echo commands. Does anyone know the MELScript for this command? Or any possible work arounds?

Thanks for reading.

regard,
Mike

DOor
04-14-2008, 01:05 AM
I am not 100% confident in this because I did not have any animation to test this out on but you should give this a shot.

the graphEditor is a scripted panel (who knows why..) and the animCurveEditor is called graphEditor1GraphEd, I did not check on a way to query this but this is the name of the default one.

anyways, knowing that you can set the filter which *should* be the one I used in the example below if you want it to display only keyable attributes.


animCurveEditor -e -filter "keyableFilter" graphEditor1GraphEd;



Let me know how this works out and I hope it helps!

Michael Chen
04-14-2008, 08:59 AM
Hi Eric,

Unfortunately the code doesn't work. The code executes without errors however the Graph Editor > Show > Attributes > Keyable is still not checked.

However thanks for your help.

DOor
04-14-2008, 12:16 PM
yeah I was not sure if the checkbox would update. I take it that the filter doesnt work when you have animation curves in the editor?

Michael Chen
04-15-2008, 06:00 AM
I take it that the filter doesnt work when you have animation curves in the editor?

Yeah, it doesn't work.

CGTalk Moderation
04-15-2008, 06: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.