View Full Version : Deactivate shelfButton in mel

12 December 2012, 10:08 PM
How deactivate shelf button that already exist in shelf tab

like when write "-en 0" when create shelf button

12 December 2012, 09:49 AM
Can anyone help me , plzzzzz

12 December 2012, 10:53 AM
I knew the way :)

string $currentShelf = `tabLayout -q -st $gShelfTopLevel`;
string $shelfContents[] = `shelfLayout -q -childArray ($currentShelf)`;
shelfButton -e -en 0 $shelfContents[0];


CGTalk Moderation
12 December 2012, 10:53 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.