How to Fix the MTK Custom Shelf Height Bug in Maya

Опубликовано: 14 Май 2026
на канале: malcolm341
3,220
78

Click here to subscribe https://www.youtube.com/malcolm341?su...

To support me go here https://gumroad.com/malcolm341

Learn how to fix the MTK custom shelf partially resetting its height each time you restart Autodesk Maya.

//Maximize the MTK shelf vertically to fix Maya bug where it shrinks on restart
global proc m341_mtkFix()
{
string $pLayouts[] = `lsUI -l -type paneLayout`;
string $pLayout = "";
for ($i in $pLayouts)
{
string $sub = `substring $i 1 14`;
if ($sub == "NEXDockControl")
{
$pLayout = $i;
paneLayout -edit -paneSize 2 1 100 $pLayout;
break;
}
}
}
evalDeferred "m341_mtkFix";