Sep 2005
1 / 13
Sep 2005
Sep 2005

I'm opperating maya 7 on OSX. I remembered not haveing any problems with shelf buttons in 6.5, but I can't seem to get the "polygon>boolean>union" menu to be a shelf button. I looked at the help docs and followed the instructions

To add a menu item (action) to a shelf

Click the shelf you want to add the menu item to.
Open the menu with the menu item you want to add.
Do one of the following:
(Windows and Mac OS X) Hold ctrl + shift and click the menu item.

well when this is done, nothing happens? any clues?

  • created

    Sep '05
  • last reply

    Sep '05
  • 12

    replies

  • 6.4k

    views

  • 1

    user

Hmm worked fine for me on widows? other shelf items work fine for you.

If not make sure you have write permissions to the shelf in question?!

alos try menuItemToShelf "MayaWindow|mainPolygonsMenu|menuItem639|menuItem640"; tough thers realy no 100% guarantee thet yoyr menus are named the same.

If not make sure you have write permissions to the shelf in question?!

what are write permissions and how do I change them?

QUOTE(Joojaa @ 09/15/05, 07:50 AM)
If not make sure you have write permissions to the shelf in question?!

alos try menuItemToShelf "MayaWindow|mainPolygonsMenu|menuItem639|menuItem640"; tough thers realy no 100% guarantee thet yoyr menus are named the same.
[snapback]214929[/snapback]

the command worked fine... still middle mouse button is easier for me, how did you know that the polygon boolean operation was "MayaWindow|mainPolygonsMenu|menuItem639|menuItem640". I would like to add the other boolean operations but how would I go about finding there menuItem#'s?

much appreciated

QUOTE(silk @ 09/16/05, 12:45 AM)
Try using Apple shift in stead of control shift.
[snapback]214965[/snapback]

well I get the feeling it may be due to the middle mouse button not being assigned the right function. I have a 3button with a scroll as the middle. I tried just about every combination of apple+shift+MMB, cntr+shift+MMB, option+apple+MMB ect... but nothing pops up or drags to the shelf I am using?

QUOTE(drBlacksnake @ 09/16/05, 06:42 PM)
after all You can copy mel form script editor and MMB-drag it to shelf.
[snapback]215049[/snapback]

well I wish that was the case. In fact something seems not right about the MMB preferences. althought I can move around and navigate the perspective window using MMB just fine.

From the script editor I hightlight the text that I want to make the shelf button. and when I MMB the text, it (the text) deselects and I cannot drag it anywhere. The action is the same with trying to create shelf buttons from menu items. i.e. Hotbox>polygons>booleans>difference, while the menu is still fliped out I would try and drag with MMB + ctrl + shift and nothing happens, the menu deselects. I also tried with the same option+shift+MB, apple+shift+MB ect. no combinations seem to work. I also tried from the pulldowns at the top of the maya window. I do remember the MMB working under Maya 6.5. the only two things that have changed are an upgrade to Maya 7 and i did install a wacom tablet which is now unplugged and I am not using it, but some preferences could perhaps have been mixed in the process?

The only thing which has worked for me was the running this command;

menuItemToShelf "MayaWindow|mainPolygonsMenu|menuItem639|menuItem640";

which did in fact put the polygon>boolean>union in my shelf perfectly. The only problem is that I dont know how to figure out the menuItem??? for other menus. if I wanted to put any other menus in my shelf I would need to figure out first what is the menuItem???

any clues?[COLOR=blue]

not sure about Mac version, but on Win i have nice shelfEditor where I can edit commands for each shelf button. also it requires ctrl+shift+CLICK not DRAG on menu item to create a new button.
also I can modify my shelf MEL files in \My Documents\maya\6.5\prefs\shelves and copy any entry there to get at least temporary button entry which I can edit through UI later.
I believe this might be a little bit different on Mac and it is sad that it doesnt work in way it should, but at least You should be abe to work around this imperfection.

QUOTE(drBlacksnake @ 09/17/05, 10:12 AM)
not sure about Mac version, but on Win i have nice shelfEditor where I can edit commands for each shelf button. also it requires ctrl+shift+CLICK not DRAG on menu item to create a new button.
also I can modify my shelf MEL files in \My Documents\maya\6.5\prefs\shelves and copy any entry there to get at least temporary button entry which I can edit through UI later.
I believe this might be a little bit different on Mac and it is sad that it doesnt work in way it should, but at least You should be abe to work around this imperfection.
[snapback]215090[/snapback]

Solution for now... I was able to use the script editor puldown to "add selected to shelf..." which works, but it anint no MMB. Editing the prefs/shelves is a good idea though. but not everything is in a shelf by default.

thanks

hmm so you have no clue why the driver does not broadcast the middle mouse button as a middle mouse?

NO i doubt thats the fact, the mouse still can breadcast soemthing tahts not the middlemouse. Usualy they dont but it can. What mouse? can you pan with alt middlemouse?

Se the fact that other progs accept this does not mean it breadcasts middlemouse in fact it can mean it does not.

QUOTE(bradon @ 09/20/05, 01:34 PM)
NO i doubt thats the fact, the mouse still can breadcast soemthing tahts not the middlemouse. Usualy they dont but it can. What mouse? can you pan with alt middlemouse?

Se the fact that other progs accept this does not mean it breadcasts middlemouse in fact it can mean it does not.
[snapback]215263[/snapback]

Yes apple MMB does pan for me. dumbfounded???