Home Technical Talk

Locking or Altering the Maya Hotbox

Hi all – one issue that's been hindering my workflow on a daily, even hourly, basis is once I have the Maya hotbox set up the way I want (show common menus, show modeling menu set), sub-menus from the hotbox controls will show/hide because I swipe too fast.  My questions are...

1) Can I lock the hotbox so nothing changes?

2) Can I permanently remove any sub-menus from the hotbox controls (plus show pane specific menus option)...perhaps in the hotbox mel file?

3) Is there a way to recreate the hotbox as a marking menu with the common and modeling menu sets with the viewport options in the middle?  I know how to make a marking menu with buttons from the shelf, but not with the length-wise menu sets as seen in the hotbox.

I have an image that can help explain.  Any help is greatly appreciated - thank you.

Replies

  • throttlekitty
    Offline / Send Message
    throttlekitty ngon master
    No easy way to lock it in without some serious mel surgery, AFAIK. I'm curious how you swipe so fast to first get to the controls section, but here's how to do what you ask.

    You're looking for [install path]\Maya2018\scripts\startup\HotboxControlsMenu.mel
    Or whatever your version is. Copy that to:
    C:\Users\[username]\Documents\Maya\2018\prefs\scripts\

    Maya will read this copy first, letting you make edits while keeping the vanilla file intact should you ever need to revert. You should only have to delete some entries toward the bottom, they look like this. Deleting this whole block will remove it from the list once you start maya.

    <div>menuItem -rp "S" -label (uiRes("m_HotboxControlsMenu.kShowFX")) -subMenu true;</div><div>			menuItem -rp "S" -label (uiRes("m_HotboxControlsMenu.kFXOnly"))</div><div>				-c ("if (`menuSet -q -exists dynamicsMenuSet`) { hotBox -do; setMenuMode dynamicsMenuSet; updateHotboxOptionVarSettings(); }");</div><div>			menuItem -rp "N" -label (uiRes("m_HotboxControlsMenu.kShowHideFX"))</div><div>				-cb `hotBox -q -dt`</div><div>				-c "hotBox -dt #1; updateHotboxOptionVarSettings()"</div><div>				hotboxDynamicsRowVisibilityCheckboxMenuItem;</div><div>	setParent -m ..;</div>
Sign In or Register to comment.