I deleted my prefs folder and avoided using the first script again. If you use this one: layout -e -height XX ShelfLayout; //replace XX with desired height in pixels You shouldn't have any problems adding or reducing height to your shelves.
Hi everyone. I used the following code to change Maya's default shelf height: int $shelfHeight = `layout -q -height ShelfLayout`;int $doubleShelf = $shelfHeight + 20; if ($shelfHeight < 150) {layout -e -height $doubleShelf ShelfLayout;}else{layout -e -height 40 ShelfLayout;} And it works but know the problem is that…