PDA

View Full Version : A MEL request


kamsvag
09-25-2002, 11:39 AM
How do I change the 'tangent default In/Out' state through mel?

I'd like to have a small window with two rows of radio-buttons, one for the in- and one for out-state of the tangents, so I won't have to go through and change them after I've set the keys.

MDuffy
09-25-2002, 05:03 PM
Check the docs for all the values you can pass to the settings, but I believe the the command you are looking for is:

keyTangent -global -itt spline;
keyTangent -global -ott spline;


itt is "in tangent type" and ott is "out tangent type";

Hope this helps!
Michael Duffy
mduffy@ionet.net

kamsvag
09-25-2002, 07:40 PM
Thnx, it works just the way it should now. Since I'm no ace when it comes to mel I used the attribiute Collection script to build the interface, it works and that's enough for me.

Cheers!:thumbsup:

CGTalk Moderation
01-13-2006, 05:00 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.