Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / How to reorder menus in the main window menu bar?
  RSS 2.0 ATOM  

How to reorder menus in the main window menu bar?
Rate this thread
 
51973
 
Permlink of this thread  
avatar
  • Total Posts: 3
  • Joined: 06 December 2007 03:04 PM

Custom menus can be created in the main menu bar with a command like:

import maya.cmds as cmds
cmds
.menu(u"TestMenu"label=u"Test"parent=u"MayaWindow")

But this seems to always append the new menu at the far right, next to the “Help” menu. How can I place a custom menu between the “Create” and “Display” menus in the main Maya menu bar?



Replies: 0