Functions for creating UI elements, as well as their class counterparts.
| PyUI | |
| animCurveEditor | Edit a characteristic of a graph editor |
| animDisplay | This command changes certain display options used by animation windows. |
| annotate | This command is used to create an annotation to be attached to the specified objects at the specified point. |
| artBuildPaintMenu | ?? |
| attrColorSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| attrControlGrp | This command creates a control of the type most appropriate for the specified attribute, and associates the control with the attribute. |
| attrEnumOptionMenu | This command creates an enumerated attribute control. |
| attrEnumOptionMenuGrp | All of the group commands position their individual controls in columns starting at column 1. |
| attrFieldGrp | All of the group commands position their individual controls in columns starting at column 1. |
| attrFieldSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| attrNavigationControlGrp | All of the group commands position their individual controls in columns starting at column 1. |
| attributeMenu | Action to generate popup connection menus for Hypershade. This command is used internally by the Hypershade panel. |
| autoLayout | |
| autoPlace | This command takes a point in the centre of the current modeling pane and projects it onto the live surface. |
| blendShapeEditor | This command creates an editor that derives from the base editor class that has controls for blendShape, control nodes. |
| blendShapePanel | This command creates a panel that derives from the base panel class that houses a blendShapeEditor. |
| button | Create a button control capable of displaying a textual label and executing a command when selected by the user. |
| buttonManip | This creates a button manipulator. |
| canvas | Creates a control capable of displaying a color swatch. |
| channelBox | This command creates a channel box, which is sensitive to the active list. |
| checkBox | This command creates a check box. |
| checkBoxGrp | All of the group commands position their individual controls in columns starting at column 1. |
| clipEditor | Create a clip editor with the given name. |
| clipSchedulerOutliner | This command creates/edits/queries a clip scheduler outliner control. |
| cmdScrollFieldExecuter | A script editor executer control used to issue script commands to Maya. |
| cmdScrollFieldReporter | A script editor reporter control used to receive and display the history of processed commmands. |
| cmdShell | This command creates a scrolling field that behaves similar to a unix shell for entering user input. |
| colorEditor | The colorEditorcommand displays a modal dialog that may be used to specify colors in RGB or HSV. The default behaviour when no arguments are specified is to provide an initial color of white (rgb 1.0 1.0 1.0). The command will return the user’s color component values along with a boolean to indicate whether the dialog was dismissed by pressing the OKbutton. As an alternative to responding to the colorEditorcommand’s return string you can now query the -rgb/rgbValue, -hsv/hsvValue, and -r/resultflags to get the same information. The final argument is 1 if the dialog’s OKbutton was pressed, and 0 if the Cancelbutton was pressed.In query mode, return type is based on queried flag. |
| colorIndexSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| colorSliderButtonGrp | All of the group commands position their individual controls in columns starting at column 1. |
| colorSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| columnLayout | This command creates a layout that arranges its children in a single column. |
| commandLine | This command creates a single line for command input/output.The left half is for input, the right half for output. |
| componentEditor | This command creates a new component editor in the current layout. |
| confirmBox | Prompt for confirmation. |
| confirmDialog | The confirmDialog command creates a modal dialog with a message to the user and a variable number of buttons to dismiss the dialog. The dialog is dismissed when the user presses any button or chooses the close item from the window menu. In the case where a button is pressed then the name of the button selected is returned. If the dialog is dismissed via the close item then the string returned is specified by the dismissStringflag. The default behaviour when no arguments are specified is to create an empty single button dialog. |
| control | This command allows you to edit or query the properties of any control. |
| createEditor | This command creates a property sheet for any dependency node. |
| defaultLightListCheckBox | This command creates a checkBox that controls whether a shadingGroup is connected/disconnected from the defaultLightList. |
| defaultNavigation | The defaultNavigation command defines default behaviours when creating or manipulating connections between nodes and when navigating between nodes via those connections. This command is primarily used by attribute editors. |
| deviceEditor | This creates an editor for creating/modifying attachments to input devices. |
| devicePanel | This creates a panel containing an editor for creating/modifying attachments to input devices. |
| dynPaintEditor | Create a editor window that can be painted into |
| dynRelEdPanel | This command creates a Dynamics Relationship Editor panel. A relationship editor panel has a dynamics relationship editor (see the command dynRelEditor). It displays the Dynamics relationships of the selected objects. As the active list changes, the information displayed in the Relationship Editor changes. |
| dynRelEditor | This command created a Dynamics Relationship Editor editor. The editor displays the connections of selected objects. As the active list changes, the information displayed in the editor changes. You can add relationships by drag-and-dropping the object to be connect to from a UI like the outliner onto the editor. You can remove relationships by selecting the connect objects in the editor and pressing REMOVE. You can show the relationships in the modeling window by pressing SHOW. The influences linked to the last object put into the editor are shown in yellow. |
| editor | Edit the characteristic of an editor |
| editorTemplate | The editorTemplate command allows the user to specify the conceptual layout of an attribute editor and leave the details of exactly which UI elements are used in the final result to the automatic dialog generation mechanism. |
| exclusiveLightCheckBox | This command creates a checkBox that controls a light’s exclusive non-exclusive status. An exclusive light is one that is not hooked up to the default-light-list, thus it does not illuminate all objects be default. However an exclusive light can be linked to an object. |
| fileDialog | |
| floatField | Create a field control that accepts only float values and is bound by a minimum and maximum value. |
| floatFieldGrp | All of the group commands position their individual controls in columns starting at column 1. |
| floatScrollBar | Create a scroll bar control that accepts only float values and is bound by a minimum and maximum value. |
| floatSlider | Create a slider control that accepts only float values and is bound by a minimum and maximum value. |
| floatSlider2 | This command creates a float slider containing two handles. |
| floatSliderButtonGrp | All of the group commands position their individual controls in columns starting at column 1. |
| floatSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| fontDialog | On Windows systems only, the command can be invoked with no flags; in this case it displays a font picking window, and returns the name of the font that the user picked. If the user picked no font, then an empty string is returned. |
| formLayout | This command creates a form layout control. |
| frameLayout | This command creates frame layout control. |
| getMainProgressBar | |
| getPanel | This command returns panel and panel configuration information. |
| glRenderEditor | Create a glRender view. This is a special view used for hardware rendering. This command is used to create and reparent the view as needed to support panels. See the glRender command for controlling the specific behavior of the hardware rendering. In query mode, return type is based on queried flag. |
| grabColor | This command changes the cursor and enters a modal state which will be exited by pressing a mouse button. |
| gradientControl | This command creates a control that displays the gradient attribute specified. |
| gradientControlNoAttr | This command creates a control for editing a ramp (2D control curve). The control attaches to an optionVar used to store and retrieve the encoded gradient control points stored in a string. |
| gridLayout | This layout arranges children in a grid fashion where every cell in the grid is the same size. |
| hardwareRenderPanel | This command creates, edit and queries hardware render panels which contain only a hardware render editor. |
| headsUpDisplay | This command creates a Heads-up Display (HUD) object which is placed in a 2D inactive overlay plane on the 3D viewport. It is to be used to provide hands-on information designated by a user script. The text string displayed on the viewport is formatted using the various flags of this command. The only mandatory flags, on creation are the section and block flags. Note if the preset OR command/trigger flags are not present, only a label will be drawn on the viewport. Upon creation of a HUD object, an ID number will be assigned to it. This can be used to remove the HUD object (-rid/removeID [int IDNumber]), if desired. Alternatively, HUD objects may be removed via their position (section and block), or their unique name. |
| headsUpMessage | This command draws a message in the 3d view. |
| helpLine | This command creates a help line where tool help/hints are shown. |
| horizontalLayout | |
| hotBox | This command controls parameters related to the hotBox menubar palette. When the command is invoked with no flags, the hotBox is popped up. In query mode, return type is based on queried flag. |
| hotkey | This command sets the single-key hotkeys for the entire application. |
| hotkeyCheck | This command checks if the given hotkey is mapped to a nameCommand object. If so, the annotation of the nameCommand object is returned. Otherwise an empty string is returned. |
| hudButton | This command creates a Heads-up Display (HUD) button control which is placed in a 2D inactive overlay plane on the 3D viewport. It is to be used to provide hands-on interaction designated by a user script. The HUD button is derived from a generic HUD object and thus inherits a similar workflow. Although this command provides much of the same functionality as the headsUpDisplay command, it does not provide headsUpDisplay layout controls such as layoutVisibility, nextFreeBlock, lastOccupiedBlock, exists, remove, etc. To access that functionality, please use the headsUpDisplay command. This command is focused solely around the creation and management of HUD button controls. Similarly, all operations performed by this command are limited to HUDs that are button controls. The only mandatory flags, on creation are the section and block flags. Like the headsUpDisplay command, upon creation of a HUD button, an ID number will be assigned to it. This can be used to remove the HUD via the headsUpDisplay command (-rid/removeID [int IDNumber]), if desired. Alternatively, the headsUpDisplay command can remove HUD objects via their position (section and block), or their unique name. |
| hudSlider | This command creates a Heads-up Display (HUD) slider control which is placed in a 2D inactive overlay plane on the 3D viewport. It is to be used to provide hands-on interaction designated by a user script. The HUD slider is derived from a generic HUD object and thus inherits a similar workflow. Although this command provides much of the same functionality as the headsUpDisplay command, it does not provide headsUpDisplay layout controls such as layoutVisibility, nextFreeBlock, lastOccupiedBlock, exists, remove, etc. To access that functionality, please use the headsUpDisplay command. This command is focused solely around the creation and management of HUD sliders. Similarly, all operations performed by this command are limited to HUDs that are sliders. The only mandatory flags, on creation are the section and block flags. Like the headsUpDisplay command, upon creation of a HUD slider, an ID number will be assigned to it. This can be used to remove the HUD slider via the headsUpDisplay command (-rid/removeID [int IDNumber]), if desired. Alternatively, the headsUpDisplay command can remove HUD objects via their position (section and block), or their unique name. |
| hudSliderButton | This command creates a Heads-up Display (HUD) slider button control which is placed in a 2D inactive overlay plane on the 3D viewport. It is to be used to provide hands-on interaction designated by a user script. The HUD slider button control is derived from a generic HUD object and thus inherits a similar workflow. Although this command provides much of the same functionality as the headsUpDisplay command, it does not provide headsUpDisplay layout controls such as layoutVisibility, nextFreeBlock, lastOccupiedBlock, exists, remove, etc. To access that functionality, please use the headsUpDisplay command. This command is focused solely around the creation and management of HUD slider button controls. Similarly, all operations performed by this command are limited to HUDs that are slider button controls. The only mandatory flags, on creation are the section and block flags. Like the headsUpDisplay command, upon creation of a HUD slider button, an ID number will be assigned to it. This can be used to remove the HUD slider via the headsUpDisplay command (-rid/removeID [int IDNumber]), if desired. Alternatively, the headsUpDisplay command can remove HUD objects via their position (section and block), or their unique name. |
| hyperGraph | The following is an overview of the basic features of the hypergraph. |
| hyperPanel | This command creates, edit and queries hypergraph panels which contain only a hypergraph editor. |
| hyperShade | Commands for shader editing in the hypergraph |
| iconTextButton | This control supports up to 3 icon images and 4 different display styles. |
| iconTextCheckBox | This control supports up to 3 icon images and 4 different display styles. |
| iconTextRadioButton | This control supports up to 3 icon images and 4 different display styles. |
| iconTextRadioCollection | This command creates a cluster for iconTextRadioButtons. Clusters will be parented to the current default layout if no parent is specified with the -p/parent flag. As children of the layout they will be deleted when the layout is deleted. Clusters may also span more than one window if the -g/global flag is used. In this case the cluster has no parent so must be explicitly deleted with the ‘deleteUI’ command. |
| iconTextScrollList | This command creates/edits/queries a text scrolling list. |
| iconTextStaticLabel | This control supports up to 3 icon images and 4 different display styles. |
| image | This command creates a static image for non-xpm files. |
| informBox | Information box |
| intField | Create a field control that accepts only integer values and is bound by a minimum and maximum value. |
| intFieldGrp | All of the group commands position their individual controls in columns starting at column 1. |
| intScrollBar | Create a scroll bar control that accepts only integer values and is bound by a minimum and maximum value. |
| intSlider | Create a slider control that accepts only integer values and is bound by a minimum and maximum value. |
| intSliderGrp | All of the group commands position their individual controls in columns starting at column 1. |
| keyframeOutliner | This command creates/edits/queries a keyframe outliner control. |
| keyframeStats | All of the group commands position their individual controls in columns starting at column 1. |
| labeledControl | |
| layerButton | Creates a layer bar button widget. |
| layout | This command allows you to edit or query the properties of any layout. |
| layoutDialog | The layoutDialog command creates a modal dialog containing a formLayout with 100 divisions. The formLayout can be populated with arbitrary UI elements through use of the ‘-ui/-uiScript’ flag. NOTE:A layoutDialog is not a window and certain UI elements will not function properly within it. In particular menuBars and panels containing menuBars should not be used with the layoutDialog. |
| linearPrecision | This command controls the display of linear strings in the interface. |
| loadPrefObjects | This command loads preference dependency nodes from userPrefObjects.ma, if it exists, from the user preference directory. |
| lsUI | This command returns the names of UI objects. |
| menu | This command creates a new menu and adds it to the default window’s menubar if no parent is specified. |
| menuBarLayout | Create a layout containing a menu bar. |
| menuEditor | A menuEditor displays the contents of a popup menu and allows the menu’s items to be edited. Menu items are represented by labelled icons which can be dragged around within the editor to change the menu’s layout. Various objects can be dragged and dropped into the menuEditor to create new menu items: toolButtons from the shelf or toolbox, shelfButtons from the shelf, iconTextButtons with attached commands, and scripts from the command window. When editing a Marking Menu, the radial menu items correspond to 8 icons arranged in a circle within the menuEditor. Overflow items in the Marking Menu (or linear items in a normal menu) are displayed in a column below the radial items. To edit a submenu of a popup menu, a new menuEditor instance must be created (typically within its own window) and attached to its parent menuEditor. Some flags require the position of a menu item to be passed in as an argument. For these, positions are specified with a (string,int) pair, where the string corresponds to a radial position (possibily None) and the int corresponds to a linear position (possibly equal to 0 for none). Radial positions are specified by one of (N,0), (NE,0), (E,0), (SE,0), (S,0), (SW,0), (W,0) or (NW,0). Overflow, or linear positions, are specified with (None,i), where i is a 1-based index giving the position of the item within the overflow column.Note:This command in not meant to be called explicitly. It was created to support the Marking Menu editor. It is recommended that you use that editor to modify marking menus. |
| menuItem | This command creates/edits/queries menu items. |
| menuSet | Create a menu set which is used to logically order menus for display in the main menu bar. |
| menuSetPref | Provides the functionality to save and load menuSets between sessions of Maya. For Internal Use Only! In query mode, return type is based on queried flag. |
| messageLine | This command creates a message line where tool feedback is shown. |
| minimizeApp | This command minimizes (iconifies) all of the application’s windows into a single desktop icon. |
| modelEditor | Create, edit or query a model editor. |
| modelPanel | This command creates a panel consisting of a model editor. |
| nameCommand | This command creates a nameCommand object. Each nameCommand object can be connected to a hotkey. Thereafter, the nameCommand’s command string will be executed whenever the hotkey is pressed (or released, as specified by the user). |
| nameField | This command creates an editable field that can be linked to the name of a Maya object. The field will always show the name of the object. |
| newPanelItems | This action builds menu items to create new panels. |
| nodeIconButton | This control supports up to 3 icon images and 4 different display styles. |
| nodeOutliner | The nodeOutliner command creates, edits and queries an outline control that shows dependency nodes and their attributes. Compound attributes are further expandable to show their children. Additional configure flags allow multi selection, customizable commands to issue upon selection, and showing connections (and connectability) to a single input attribute. There are also the abilities to add/remove/replace nodes through the command line interface, and drag/add. In some configurations, dragging a connected attribute of a node will load the node at the other end of the connection. There is a right mouse button menu and a flag to attach a command to it. The menu is used to list the specific connections of a connected attribute. Clicking over any spot but the row of a connected attribute will show an empty menu. By default, there is no command attached to the menu. In query mode, return type is based on queried flag. |
| optionMenu | This command creates a popup menu control. |
| optionMenuGrp | All of the group commands position their individual controls in columns starting at column 1. |
| outlinerEditor | This command creates an outliner editor which can be used to display a list of objects.WARNING: some flag combinations may not behave as you expect. The command is really intended for internal use for creating the outliner used by the various editors. |
| outlinerPanel | This command creates, edit and queries outliner panels which contain only an outliner editor. |
| overrideModifier | This command allows you to assign modifier key behaviour to other parts of the system. |
| palettePort | This command creates an array of color cells. |
| paneLayout | This command creates a pane layout. |
| panel | This command allows editing or querying properties of any panels. |
| panelConfiguration | This command creates a panel configuration object. |
| panelHistory | This command creates a panel history object. |
| pathButtonGrp | |
| picture | This command creates a static image. |
| popupMenu | This command creates a popup menu and attaches it to the current control if no parent is specified. |
| progressBar | Creates a progress bar control that graphically fills in as its progress value increases. |
| progressWindow | The progressWindow command creates a window containing a status message, a graphical progress gauge, and optionally a Hit ESC to Cancellabel for interruptable operations. Only one progress window is allowed on screen at a time. While the window is visible, the busy cursor is shown. |
| promptBox | Prompt for a value. |
| promptBoxGenerator | Keep prompting for values until cancelled |
| promptDialog | The promptDialog command creates a modal dialog with a message to the user, a text field in which the user may enter a response, and a variable number of buttons to dismiss the dialog. The dialog is dismissed when the user presses any button or chooses the close item from the window menu. In the case where a button is pressed then the name of the button selected is returned. If the dialog is dismissed via the close item then the string returned is specified by the -ds/dismissStringflag. The default behaviour when no arguments are specified is to create an empty single button dialog. To obtain the text entered by the user simply query the -tx/textflag. |
| promptForFolder | Prompt the user for a folder path |
| promptForPath | Prompt the user for a folder path |
| promptFromList | Prompt the user to select items from a list of objects |
| radioButton | This command creates a radio button that is added to the most recently created radio collection if the -cl/collectionflag is not used. |
| radioButtonGrp | All of the group commands position their individual controls in columns starting at column 1. |
| radioCollection | This command creates a radio button collection. |
| radioMenuItemCollection | This command creates a radioMenuItemCollection. Attach radio menu items to radio menu item collection objects to get radio button behaviour. Radio menu item collections will be parented to the current menu if no parent is specified with the -p/parentflag. As children of the menu they will be deleted when the menu is deleted. Collections may also span more than one menu if the -g/globalflag is used. In this case the collection has no parent menu and must be explicitly deleted with the deleteUIcommand when it is no longer wanted. |
| rangeControl | This command creates a control used for displaying and modifying the current playback range. |
| renderLayerButton | Creates a render layer bar button widget. |
| renderWindowEditor | Create a editor window that can receive the result of the rendering process |
| rowColumnLayout | This command creates a rowColumn layout. A rowColumn layout positions children in either a row or column format. A column layout, specified with the -nc/numberOfColumnsflag, allows you set text alignment, attachments and offsets for each column in the layout. Every member of a column will have the same alignment, attachment and offsets. Likewise the row format, specified by the -nr/numberOfRowsflag, allows setting of these attributes for each row in the layout. Every member of a row will have the same attributes. The layout must be either a row or column format. This layout does not support both, or the specification of attributes on an individual child basis. Some flags only make sense for one of either the row format or the column format. For example the -rh/rowHeightflag can only be specified in row format. In column format the row height is determined by the tallest child in the row, plus offsets. |
| rowLayout | This command creates a layout capable of positioning children into a single horizontal row. |
| runTimeCommand | Flags: |
| saveAllShelves | This command writes all shelves that are immediate children of the specified control layout to the prefs directory. |
| saveMenu | This command is used for saving the contents of a menu, so that another instance of the menu may be recreated later. |
| savePrefObjects | This command saves preference dependency nodes to userPrefObjects.main the user preference directory. |
| saveShelf | This command saves the specified shelf (first argument) to the specified file (second argument). |
| scmh | Set the current manipulator handle value(s). |
| scriptEditorInfo | Use this command to directly manipulate and query the contents of the Command Window window. Note: Due to recent changes, certain flags will no longer work on the Script Editor Window. All flags will continue to work with the CommandWindow (old Script Editor).Note: This command cannot be used to create a new script editor window. |
| scriptTable | This command creates/edits/queries the script table control. |
| scriptedPanel | This command will create an instance of the specified scriptedPanelType. A panel is a collection of UI objects (buttons, fields, graphical views) that are grouped together. A panel can be moved around as a group within the application interface, and torn off to exist in its own window. The panel takes care of maintaining the state of its UI when it is relocated, or recreated. A scripted panel is a panel that is defined in MEL, with all of the required callbacks available as MEL proc’s. |
| scriptedPanelType | This command defines the callbacks for a type of scripted panel. |
| scrollField | This command creates a scrolling field that handles multiple lines of text. |
| scrollLayout | This command creates a scroll layout. |
| separator | This command creates a separator widget in a variety of drawing styles. |
| setEditor | This command creates/edits a set editor. |
| setFocus | Give keyboard focus to a specific control or panel, passed as an argument. |
| setMenuMode | Optionally sets a new Menu Mode for the menu bar in the main Maya window. Returns the current Menu Mode, and if a new one is specified, then the previous Menu Mode is returned. Note that due to recent changes to the menu set architecture (8.0+), this function now takes a menu set as a parameter instead of a label. |
| setNodeTypeFlag | This command sets static data on the specified node type tag. |
| setStartupMessage | Update the startup window message. |
| shelfButton | This control supports up to 3 icon images and 4 different display styles. |
| shelfLayout | This command creates a new empty shelf layout. |
| shelfTabLayout | This command creates/edits/queries a shelf tab group which is essentially a normal tabLayout with some drop behaviour in the tab bar. A garbage can icon can appear in the top right corner to dispose of buttons dragged to it from shelves. |
| shellField | This command creates a scrolling field that behaves similar to a unix shell for entering user input. |
| showSelectionInTitle | This command causes the title of the window specified as an argument to be linked to the current file and selection. |
| showWindow | Make a window visible. |
| showsHourglass | Decorator - shows the hourglass cursor until the function returns |
| soundControl | This command creates a control used for changing current time and scratching/scrubbing through sound files. |
| spreadSheetEditor | This command creates a new spread sheet editor in the current layout. |
| swatchDisplayPort | This command creates a 3dPort that displays a swatch representing the shading node. The optional argument is the name of the 3dPort. |
| switchTable | This command creates/edits/queries the switch table control. |
| symbolButton | This command creates a symbol button. |
| symbolCheckBox | This command creates a symbol check box. |
| tabLayout | This command creates a tab group. |
| text | Create a simple text label control. |
| textCurves | The textCurves command creates NURBS curves from a text string using the specified font. A single letter can be made up of more than one NURBS curve. The number of curves per letter varies with the font. |
| textField | Create a text field control. |
| textFieldButtonGrp | All of the group commands position their individual controls in columns starting at column 1. |
| textFieldGrp | All of the group commands position their individual controls in columns starting at column 1. |
| textManip | Shows/hides the text manip. |
| textScrollList | This command creates/edits/queries a text scrolling list. |
| textWindow | |
| timeControl | This command creates a control that can be used for changing current time, displaying/editing keys, and displaying/scrubbing sound.Note: only one timeControl may be created. The one Maya creates on startup can be accessed from the global string variable $gPlayBackSlider. Also, it is not a good idea to delete it. |
| timePort | This command creates a simple time control widget. |
| toggleWindowVisibility | Toggle the visibility of a window. |
| toolButton | This command creates a toolButton that is added to the most recently created tool button collection unless the cl/collectionflag is used. It also attaches the named tool, activating it when this control is selected. By default, this control only handles one tool at a time. Using the t/toolflag to associate a new tool will simply override the previous attached tool. If you use the amt/allowMultipleToolsflag then you will be able to attach more than one tool with this control. Only one tool will be current within the control. To access the other tools press the right mouse button to display a popup menu containing all the tools associated with this control. If you set the piv/popupIndicatorVisibleflag then a small arrow will be drawn on the control to indicate that additional tools are attached to this control. |
| toolCollection | This command creates a tool button collection. |
| treeView | This command creates a custom control. |
| valueControlGrp | This function allows for a simplified interface for automatically creating UI’s to control numeric values. |
| vectorFieldGrp | |
| verticalLayout | |
| viewManip | Mel access to the view cube manipulator. |
| visor | Command for the creation and manipulation of a Visor UI element. The Visor is used to display the contents of a scene (rendering related nodes in particular), as well as files on disk which the user may wish to bring into the scene (shader and texture libraries for example). |
| webBrowser | This command is obsolete and will be removed in next version of Maya. The internal web browser of Maya has been replaced by a plug-in which allows your own browser to connect with Maya. Please refer help for information on how to setup communication of Maya with external web browser application. |
| webBrowserPrefs | Flags: |
| window | This command creates a new window but leaves it invisible. |
| windowPref | Create or modify preferred window attributes. |
| AnimCurveEditor | class counterpart of mel function animCurveEditor |
| AnimDisplay | class counterpart of mel function animDisplay |
| AttrColorSliderGrp | class counterpart of mel function attrColorSliderGrp |
| AttrControlGrp | class counterpart of mel function attrControlGrp |
| AttrEnumOptionMenu | class counterpart of mel function attrEnumOptionMenu |
| AttrEnumOptionMenuGrp | class counterpart of mel function attrEnumOptionMenuGrp |
| AttrFieldGrp | class counterpart of mel function attrFieldGrp |
| AttrFieldSliderGrp | class counterpart of mel function attrFieldSliderGrp |
| AttrNavigationControlGrp | class counterpart of mel function attrNavigationControlGrp |
| AttributeMenu | class counterpart of mel function attributeMenu |
| FormLayout | class counterpart of mel function formLayout |
| BlendShapeEditor | class counterpart of mel function blendShapeEditor |
| BlendShapePanel | class counterpart of mel function blendShapePanel |
| Button | class counterpart of mel function button |
| Callback | Enables deferred function evaluation with ‘baked’ arguments. |
| CallbackWithArgs | |
| Canvas | class counterpart of mel function canvas |
| ChannelBox | class counterpart of mel function channelBox |
| CheckBox | class counterpart of mel function checkBox |
| CheckBoxGrp | class counterpart of mel function checkBoxGrp |
| ClipEditor | class counterpart of mel function clipEditor |
| ClipSchedulerOutliner | class counterpart of mel function clipSchedulerOutliner |
| CmdScrollFieldExecuter | class counterpart of mel function cmdScrollFieldExecuter |
| CmdScrollFieldReporter | class counterpart of mel function cmdScrollFieldReporter |
| CmdShell | class counterpart of mel function cmdShell |
| ColorEditor | class counterpart of mel function colorEditor |
| ColorIndexSliderGrp | class counterpart of mel function colorIndexSliderGrp |
| ColorSliderButtonGrp | class counterpart of mel function colorSliderButtonGrp |
| ColorSliderGrp | class counterpart of mel function colorSliderGrp |
| ColumnLayout | class counterpart of mel function columnLayout |
| CommandLine | class counterpart of mel function commandLine |
| ComponentEditor | class counterpart of mel function componentEditor |
| ConfirmDialog | class counterpart of mel function confirmDialog |
| DefaultLightListCheckBox | class counterpart of mel function defaultLightListCheckBox |
| DeviceEditor | class counterpart of mel function deviceEditor |
| DevicePanel | class counterpart of mel function devicePanel |
| DynPaintEditor | class counterpart of mel function dynPaintEditor |
| DynRelEdPanel | class counterpart of mel function dynRelEdPanel |
| DynRelEditor | class counterpart of mel function dynRelEditor |
| ExclusiveLightCheckBox | class counterpart of mel function exclusiveLightCheckBox |
| FloatField | class counterpart of mel function floatField |
| FloatFieldGrp | class counterpart of mel function floatFieldGrp |
| FloatScrollBar | class counterpart of mel function floatScrollBar |
| FloatSlider | class counterpart of mel function floatSlider |
| FloatSlider2 | class counterpart of mel function floatSlider2 |
| FloatSliderButtonGrp | class counterpart of mel function floatSliderButtonGrp |
| FloatSliderGrp | class counterpart of mel function floatSliderGrp |
| FontDialog | class counterpart of mel function fontDialog |
| FormLayout | class counterpart of mel function formLayout |
| FrameLayout | class counterpart of mel function frameLayout |
| GlRenderEditor | class counterpart of mel function glRenderEditor |
| GradientControl | class counterpart of mel function gradientControl |
| GradientControlNoAttr | class counterpart of mel function gradientControlNoAttr |
| GridLayout | class counterpart of mel function gridLayout |
| HardwareRenderPanel | class counterpart of mel function hardwareRenderPanel |
| HelpLine | class counterpart of mel function helpLine |
| HyperGraph | class counterpart of mel function hyperGraph |
| HyperPanel | class counterpart of mel function hyperPanel |
| HyperShade | class counterpart of mel function hyperShade |
| IconTextButton | class counterpart of mel function iconTextButton |
| IconTextCheckBox | class counterpart of mel function iconTextCheckBox |
| IconTextRadioButton | class counterpart of mel function iconTextRadioButton |
| IconTextRadioCollection | class counterpart of mel function iconTextRadioCollection |
| IconTextScrollList | class counterpart of mel function iconTextScrollList |
| IconTextStaticLabel | class counterpart of mel function iconTextStaticLabel |
| Image | class counterpart of mel function image |
| IntField | class counterpart of mel function intField |
| IntFieldGrp | class counterpart of mel function intFieldGrp |
| IntScrollBar | class counterpart of mel function intScrollBar |
| IntSlider | class counterpart of mel function intSlider |
| IntSliderGrp | class counterpart of mel function intSliderGrp |
| KeyframeOutliner | class counterpart of mel function keyframeOutliner |
| KeyframeStats | class counterpart of mel function keyframeStats |
| LayerButton | class counterpart of mel function layerButton |
| Layout | class counterpart of mel function layout |
| LayoutDialog | class counterpart of mel function layoutDialog |
| Menu | class counterpart of mel function menu |
| MenuBarLayout | class counterpart of mel function menuBarLayout |
| MenuEditor | class counterpart of mel function menuEditor |
| MenuItem | class counterpart of mel function menuItem |
| MenuSet | class counterpart of mel function menuSet |
| MessageLine | class counterpart of mel function messageLine |
| MetaMayaUIWrapper | A metaclass for creating classes based on on a maya UI type/command. |
| ModelEditor | class counterpart of mel function modelEditor |
| ModelPanel | class counterpart of mel function modelPanel |
| NameField | class counterpart of mel function nameField |
| NodeIconButton | class counterpart of mel function nodeIconButton |
| OptionMenu | class counterpart of mel function optionMenu |
| OptionMenuGrp | class counterpart of mel function optionMenuGrp |
| OutlinerEditor | class counterpart of mel function outlinerEditor |
| OutlinerPanel | class counterpart of mel function outlinerPanel |
| PalettePort | class counterpart of mel function palettePort |
| PaneLayout | class counterpart of mel function paneLayout |
| Panel | class counterpart of mel function panel |
| Path | A basic Maya file class. it gets most of its power from the path class written by Jason Orendorff. |
| PathButtonGrp | |
| PopupMenu | class counterpart of mel function popupMenu |
| ProgressBar | class counterpart of mel function progressBar |
| PromptDialog | class counterpart of mel function promptDialog |
| RadioButton | class counterpart of mel function radioButton |
| RadioButtonGrp | class counterpart of mel function radioButtonGrp |
| RadioCollection | class counterpart of mel function radioCollection |
| RadioMenuItemCollection | class counterpart of mel function radioMenuItemCollection |
| RenderLayerButton | class counterpart of mel function renderLayerButton |
| RenderWindowEditor | class counterpart of mel function renderWindowEditor |
| RowColumnLayout | class counterpart of mel function rowColumnLayout |
| RowLayout | class counterpart of mel function rowLayout |
| SmartLayoutCreator | Create a set of layouts and controls using a nested data structure. |
| SmartLayoutCreator2 | |
| ScriptTable | class counterpart of mel function scriptTable |
| ScriptedPanel | class counterpart of mel function scriptedPanel |
| ScriptedPanelType | class counterpart of mel function scriptedPanelType |
| ScrollField | class counterpart of mel function scrollField |
| ScrollLayout | class counterpart of mel function scrollLayout |
| Separator | class counterpart of mel function separator |
| ShelfButton | class counterpart of mel function shelfButton |
| ShelfLayout | class counterpart of mel function shelfLayout |
| ShelfTabLayout | class counterpart of mel function shelfTabLayout |
| ShellField | class counterpart of mel function shellField |
| SmartLayoutCreator | Create a set of layouts and controls using a nested data structure. |
| SmartLayoutCreator2 | |
| SymbolButton | class counterpart of mel function symbolButton |
| SymbolCheckBox | class counterpart of mel function symbolCheckBox |
| TabLayout | class counterpart of mel function tabLayout |
| Text | class counterpart of mel function text |
| TextCurves | class counterpart of mel function textCurves |
| TextField | class counterpart of mel function textField |
| TextFieldButtonGrp | class counterpart of mel function textFieldButtonGrp |
| TextFieldGrp | class counterpart of mel function textFieldGrp |
| TextLayout | A frame-layout with a textfield inside, used by the ‘textWindow’ function |
| TextScrollList | class counterpart of mel function textScrollList |
| ToolButton | class counterpart of mel function toolButton |
| ToolCollection | class counterpart of mel function toolCollection |
| UI | |
| VectorFieldGrp | |
| Visor | class counterpart of mel function visor |
| Window | class counterpart of mel function window |
Bases: exceptions.Exception
Raise this exception in your scripts to cause a promptDialog to be opened displaying the error message. After the user presses ‘OK’, the exception will be raised as normal. In batch mode the promptDialog is not opened.