View Full Version : Getting selected Att. Name from ChannelBox

02 February 2004, 03:27 PM

How can I get selected attr. name and value from channel box ?

any idea ?

02 February 2004, 04:46 PM
You will need to get the name of the channelBox control, first. If you created the channelBox, you should already know that, if you want the main Maya channelBox.... I'm not sure how to get that name.

Once you know the name you can use:

channelBox -q -selectedMainAttributes <channelBox name>;


-selectedShapeAttributes, -selectedHistoryAttributes, an finally -selectedOutputAttributes.

I'll let you know if I figure out the name of the Maya channelBox.

02 February 2004, 06:28 PM
The Maya channel box is mainChannelBox.

02 February 2004, 08:34 AM
Thanks :bounce:

CGTalk Moderation
01 January 2006, 11: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.