How to Dock abxPicker in Maya 2011/2012
Posted: Sun Oct 30, 2011 3:02 pm
In the Script Editor, type in the following code:
In this instance, abxPickerWindow is the internal Maya name for the picker window; abxPickerDC is the new name for the dock control window and can be whatever you like. This should dock the abxPicker window to the left side of your viewport (obviously you can change "left" to "right" in the code and have it sitting with the Channel Box and Attribute Editor, but your animation workflow probably demands the picker and Channel Box open simultaneously).
You can also bind this code to a hotkey or save it to a shelf button so that you don't have to copy/paste the code by hand every time you open Maya to work with Malcolm. And of course, the docking functionality only works with Maya 2011 & 2012 due to the new QT interface.
And if for some reason you need to properly delete the window without restarting Maya, you can kill the dockControl window (and everything inside it, like the picker) by using this code:
Note that this deletion code won't work if you named the dockControl window differently above.
-jim
References:
http://polygonspixelsandpaint.tumblr.co ... 1994018971
http://mayastation.typepad.com/maya-sta ... -2011.html
Code: Select all
dockControl -area left -content abxPickerWindow abxPickerDC;
You can also bind this code to a hotkey or save it to a shelf button so that you don't have to copy/paste the code by hand every time you open Maya to work with Malcolm. And of course, the docking functionality only works with Maya 2011 & 2012 due to the new QT interface.
And if for some reason you need to properly delete the window without restarting Maya, you can kill the dockControl window (and everything inside it, like the picker) by using this code:
Code: Select all
deleteUI -control abxPickerDC;
-jim
References:
http://polygonspixelsandpaint.tumblr.co ... 1994018971
http://mayastation.typepad.com/maya-sta ... -2011.html