jornp
08-31-2009, 12:05 AM
I'm trying to find a way to make a pre-defined script to set up my hotkeys and shelf in Maya.
I've figured out how to define hotkeys with a MEL-script, however I can't seem to find out how I can add items to my custom shelf with MEL.
I've tried using:
menuItemToShelf "MayaWindow|mainPolygonsEditMeshMenu|menuItem766";
But I get the following error:
// Error: Object not found: MayaWindow|mainPolygonsEditMeshMenu|menuItem766. //
Any suggestions?
I've figured out how to define hotkeys with a MEL-script, however I can't seem to find out how I can add items to my custom shelf with MEL.
I've tried using:
menuItemToShelf "MayaWindow|mainPolygonsEditMeshMenu|menuItem766";
But I get the following error:
// Error: Object not found: MayaWindow|mainPolygonsEditMeshMenu|menuItem766. //
Any suggestions?
