Hi miarmy, Sorry if this is obvious, but have you had a look at the channelBox command? http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/CommandsPython/channelBox.html
If you’re looking to simulate changing the currently selected channel, I’m not familiar with any direct method, but you could try using the takeFocus flag followed by simulating the up/down arrows. On 9 December 2014 at 10:17, Justin Israel <[email protected]> wrote: > Do you mean to programmatically select a field in the channel box so that > is it in "edit" mode? Or do you meant to get the values for the currently > selected attribute(s)? > > On Tue, 9 Dec 2014 10:13 AM miarmy <[email protected]> wrote: > >> hi! How can I select the Channel Box attributes(example:ty attribute)? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/7dcf6b49-afbb-4916-8a9b-7b32d9084dad%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/7dcf6b49-afbb-4916-8a9b-7b32d9084dad%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0sOMLvZzvvpLaaWVMTdAba5UixU0cZix4qEY-bPiU_mA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0sOMLvZzvvpLaaWVMTdAba5UixU0cZix4qEY-bPiU_mA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA0qSuhoPOtGU4AV_TJSa%2Bt7vXQb%2BVjs8d6tABkwU-Mhg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
