PDA

View Full Version : Getting selected Att. Name from ChannelBox


safakoner
02-11-2004, 03:27 PM
Hi

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

any idea ?

mhovland
02-11-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>;

or

-selectedShapeAttributes, -selectedHistoryAttributes, an finally -selectedOutputAttributes.

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

ajk48n
02-11-2004, 06:28 PM
The Maya channel box is mainChannelBox.

safakoner
02-12-2004, 08:34 AM
Thanks :bounce:

CGTalk Moderation
01-17-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.