Home Technical Talk

turn off "Auto Dock" in Maya?

fattkid
polycounter lvl 15
Offline / Send Message
fattkid polycounter lvl 15
Hey folks,

Is it possible to turn off the "Auto Dock" feature in Maya? As in, I'll have an Attribute Editor open, and sometimes when I move it around/aside, it pops into the UI, replacing the channel box/layer editor or onto the other side.

It's a bit annoying, and would make life a tiny bit nicer if I wasn't battling Auto Dock while I work.

Thanks for any help.

Replies

  • Bartalon
    Offline / Send Message
    Bartalon polycounter lvl 12
    You can use the following code in the MEL command line at the bottom of the main window to disable it from docking on the left or right sides. There doesn't seem to be anything at the bottom for the attribute editor to dock with so you should be good to go.
    dockControl -e -aa "bottom" dockControl4;
    
    If you want to re-enable the attribute editor to dock at it's usual spot, use this code:
    dockControl -e -aa "all" dockControl4;
    
    Probably wouldn't hurt to have these as a shelf button for each time you start up Maya.
  • fattkid
    Offline / Send Message
    fattkid polycounter lvl 15
    Awesome! Thnak you Bartalon. You just made my life one tiny bit better! :)
Sign In or Register to comment.