

( dzo) or no display ( dco) which means that the entire It canīe fully displayed ( dh), display only the marking menu zones Three different display styles are defined for the hotBox. Sets the visibilty of a row of menus to on or off. Sets a row of menus to be the only visible row. Flags PaneOnlyMenus, PaneToggleMenus, animationOnlyMenus, animationToggleMenus, clothOnlyMenus, clothToggleMenus, commonOnlyMenus, commonToggleMenus, customMenuSetsToggleMenus, displa圜enterOnly, displayHotbox, displayStyle, displayZonesOnly, dynamicsOnlyMenus, dynamicsToggleMenus, liveOnlyMenus, liveToggleMenus, modelingOnlyMenus, modelingToggleMenus, noClickCommand, noClickDelay, noClickPosition, noKeyPress, polygonsOnlyMenus, polygonsToggleMenus, position, release, renderingOnlyMenus, renderingToggleMenus, riggingOnlyMenus, riggingToggleMenus, rmbPopups, showAllToggleMenus, surfacesOnlyMenus, surfacesToggleMenus, transparenyLevel, updateMenus Long name (short name)

In query mode, return type is based on queried flag. When the command is invoked with no flags, the hotBox is popped up. This command controls parameters related to the hotBox menubar palette.

HotBox is undoable, queryable, and NOT editable. Note: Strings representing object names and arguments must be separated by commas. Print("hotBox requested at (%d, %d)" % (x, y))Ĭmds.Go to: Synopsis. # to allow Maya to pass the coordinates to it properly. # to the 'noClickCommand' flag as a function, not as a string. # Give the hotBox a 'noClickCommand' which displays the screen position at This flag is used when the menus in the main menubar are modified,Īnd the hotBox menus need to be refreshed.įlag can appear in Create mode of commandįlag can have multiple arguments, passed either as a tuple or a list.Ĭmds.nameCommand( 'NameComPop_hotBox', annotation='Pop Hotbox', command='hotBox' )Ĭmds.hotkey( k=' ', name='NameComPop_hotBox' ) Reloads the hotBox menus from the main menubar. The percentage of transparency, from 0 to 100.Ĭurrently, only the values 0, 25, 50, 75 and 100 are When queried, will only return true if all menu rows are visible. Sets the visibility of all menus to on or off. This popup menu appear when the right mouse button is pressed The default is the cursor position.Īction to be called on the release of the key which invoked the hotboxĮnables/Disables a popup menu of the current function set. Specify the screen position the hotbox should be centered at next time (still use the rl flag to unpop the hotbox). Nkp flag to pop the hotbox from a device other than the keyboard Normally the hotbox is popped by a pressing a keyboard key. The coordinates used are those of the pointer at the time when the hotbox command was Screen coordinates of the mouse pointer to be appended as arguments to that command. If a -noClickCommand has been specified then this flag will cause the X and Y This time interval, then the noClickCommand is executed. If the hotBox is engaged and then disengaged within The command to be executed if the hotBox is engagedĪnd then disengaged within noClickDelay time units. The results can be dh, dzo, orĭco, depending on which style the hotBox is using at the moment. Returns a string that identifies the flag used to set the currentĭisplay style. Screen can be used to access the marking menus defined in the center zone.

