MG_shelf Manager

MG-Shelf Manager:

|  | Click it to load MGshelf manager. U can embed/edit your own scripts there.

To load MG-Shelf Manager ( Do one of the following ) :

▪Click icon in your Maya shelves . (If U have installed all the MGTools shelves into Maya shelves)

MG-Shelf Manager:

Section A : all embed shelves will be listed in this area.

Category area: Shows current available shelf category, you can bring up/down the category,create new one,duplicate category,rename it or delete it by clicking the buttons listed on the bottom of this area.

Cancel Edit button: Click to clean the B area to cancel current shelf edit.

Save button: Click to actually save shelves in this area.

Tips: Right clicking the shelf in this area:

edit : Put this shelf into the edit section of B and C.

delete : Delete the shelf. U can middle mouse button drag the shelf of this area onto the trashcan icon on the right side to do the same thing.

Reset icon to default : Replace this shelf button's icon and highlight icon to the default MG-shelf icon.

Section B : This scroll field holds the mel codes when editing the shelf of section A. U can type in your mel codes manually in as well.

Mel button: Click to switch between mel and python.

Test command button: Debug the codes in the scroll field.

Save as mel file : Save mel codes in the scroll field as an .mel file ,and put sourcing this file codes instead.

Tips: Right mouse button clicking on the scroll field:

Quick insert "source .mel" codes..: Select it then pick mel file dialog will pop up. Select the mel file U want then corresponding source codes will be put in the scroll field.

Quick insert "import .py" codes..: Select it then pick python file dialog will pop up. Select the python file U want then the corresponding import codes will be put in the scroll field.

Depending on the current editing script type ,one of these two insert features will be gray out.

Section C : Edit the label/ image overlay name, annotation of the shelf here.

First icon: Click to pick a 32*32 bitmap file as the icon of the shelf.

Second shelf area: Simply ctrl+mid mouse button to drag a shelf icon from maya shelves into this area to override the icon of the shelf.

Third icon: Click to pick a 32*32 bitmap file as the highlight icon of the shelf.

After editing a shelf in section B/C, click "Add" button to submit it.

If U are satisfied with all the edit, click the "Save" button to actually save all editing or all edit will be lost.