View Single Post
# 3 30-07-2005 , 01:35 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
Try working with this for starters:

Code:
channelBox -q -selectedMainAttributes mainChannelBox;
That will return a list of strings based on what you have selected in the top part of the channel box. The channel box in the main UI is called "mainChannelBox", which I found by doing a massive search through all of the MEL scripts used to generate the UI (located inside the main Maya application directory).

You can look up channelBox in the MEL reference to learn more on what you can do with it.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job