Page 1 of 1
Re: maxwell dropdown menu
Posted: Tue Feb 15, 2005 7:55 am
by Brett Morgan
Hi guys, just wondering if there is anyone knowledgeable in MEL who would know how to make the maxwell fropdown menu available all the time, not just in rendering mode, its no biggie, just like it always to be there, save me a button push hehe.
Cheers
Brett
Posted: Tue Feb 15, 2005 12:16 pm
by iker
You can create a Maxwell Shelf

Posted: Tue Feb 15, 2005 1:03 pm
by Brett Morgan
yes I absolutely can, but mjpolytools menu is everywhere, thought it might be easy to change
Brett
Posted: Tue Feb 15, 2005 3:56 pm
by Brett Morgan
OK been having a play (with the scripts that is and a couple of things have been doing something, mayallStartup.mel
if I add "-p MayaWindow" to lines 134 and lines 180
menu -defineTemplate M2MxTemplate -allowOptionBoxes -p true -p MayaWindow -tearOff true;
and
$gRenderingMenus[$menuSize] = `menu -label "Maxwell" -p MayaWindow -tearOff true -allowOptionBoxes true Maxwell`;
respectively, then the menu appears in the other maya modes, but disapperas when I change to say modelling mode to animation mode, shall do some more investigating, hope this is allright with the author by the way, please say so
Regards
Brett
Posted: Wed Feb 16, 2005 12:10 am
by Ric_535
Keep investigating Brett
ps - how can i make a shelf with maxwell options?
Posted: Wed Feb 16, 2005 1:01 am
by iker
Do a new shelf (Window-Settings/Preferences/Shelves.... New Shelf)
Then open maxwell menu and Shift+Ctrl+Alt+LMB (left mouse button) on the commands you want to add to the shelf.
Posted: Wed Feb 16, 2005 1:10 am
by Ric_535
Cheers, never new that

Posted: Wed Feb 16, 2005 6:32 am
by Brett Morgan
maybe someone could make up some snazzy xpm icons
aia worked it out, the menu thing, with a buddy who's much better at MEL than me, just have to document the few changes I made
regards
Brett
Posted: Thu Feb 17, 2005 9:33 am
by Brett Morgan
OK the changes I made actually made the menu visible in all modes, but it wouldnt initialise the plugin heh, anyone else interested in this?
Brett
Posted: Thu Feb 17, 2005 12:44 pm
by iker
Brett, can you post the mel for that?