PDA

View Full Version : Change Tool Box In Left Side Maya


tumba
09-30-2008, 05:59 PM
Hello.
Please tell me how i can change Tool box in left side maya to my own panel. Where i can find info about files in scripts/startup folder and structure GUI main window?
See here http://www.highend3d.com/boards/index.php?showtopic=188644
Thanx.

ewerybody
10-01-2008, 09:08 AM
Say... didn't I tell you over at highend to have a look into the script history when triggering toolbox visibility?

I mean? Whats so hard about that?
I see:
toggleUIComponentVisibility "Tool Box";
In toggleUIComponentVisibility i find the proc getUIComponent. Asking it for "Tool Box" delivers me:
getUIComponent "Tool Box";
// Result: MayaWindow|mayaMainWindowForm|formLayout3|formLayout8|formLayout26 //
Now formLayout8 is the parent layout of the Tool Box-layout. We may hide the Tool Box-layout formLayout26 itself and stuff another layout into the parent one.:

// hide toolbox layout:
layout -e -vis 0 formLayout26;

// create new column and buttons inside
columnLayout -p formLayout8 tumbasNewToolBoxColumn;
button -l R -w 38;
button -l T -w 38;
button -l F -w 38;
button -l M -w 38;

CGTalk Moderation
10-01-2008, 09:08 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.