pymel.core.uitypes.ModelPanel

Inheritance diagram of ModelPanel

class ModelPanel

class counterpart of mel function modelPanel

This command creates a panel consisting of a model editor. See the modelEditorcommand documentation for more information.

copy(val=True, **kwargs)

Makes this panel a copy of the specified panel. Both panels must be of the same type.

Derived from mel command maya.cmds.modelPanel

getBarLayout(**kwargs)

This flag returns the name of the layout which is the parent of the panels icon bar.

Derived from mel command maya.cmds.modelPanel

getCamera(**kwargs)

Query or edit the camera in a modelPanel.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.modelPanel

getControl(**kwargs)

Returns the top level control for this panel. Usually used for getting a parent to attach popup menus. CAUTION: panels may not have controls at times. This flag can return “” if no control is present.

Derived from mel command maya.cmds.modelPanel

getDocTag(**kwargs)

Attaches a tag to the maya panel.

Derived from mel command maya.cmds.modelPanel

getIsUnique(**kwargs)

Returns true if only one instance of this panel type is allowed.

Derived from mel command maya.cmds.modelPanel

getLabel(**kwargs)

Specifies the user readable label for the panel.

Derived from mel command maya.cmds.modelPanel

getMenuBarVisible(**kwargs)

Controls whether the menu bar for the panel is displayed.

Derived from mel command maya.cmds.modelPanel

getModelEditor(**kwargs)

This flag returns the name of the model editor contained by the panel.

Derived from mel command maya.cmds.modelPanel

getNeedsInit(**kwargs)

(Internal) On Edit will mark the panel as requiring initialization. Query will return whether the panel is marked for initialization. Used during file -new and file -open.

Derived from mel command maya.cmds.modelPanel

getPopupMenuProcedure(**kwargs)

Specifies the procedure called for building the panel’s popup menu(s). The default value is “buildPanelPopupMenu”. The procedure should take one string argument which is the panel’s name.

Derived from mel command maya.cmds.modelPanel

getTearOff(**kwargs)

Will tear off this panel into a separate window with a paneLayout as the parent of the panel. When queried this flag will return if the panel has been torn off into its own window.

Derived from mel command maya.cmds.modelPanel

init(val=True, **kwargs)

Initializes the panel’s default state. This is usually done automatically on file -new and file -open.

Derived from mel command maya.cmds.modelPanel

replacePanel(val=True, **kwargs)

Will replace the specifed panel with this panel. If the target panel is within the same layout it will perform a swap.

Derived from mel command maya.cmds.modelPanel

setCamera(val=True, **kwargs)

Query or edit the camera in a modelPanel.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.modelPanel

setDocTag(val=True, **kwargs)

Attaches a tag to the maya panel.

Derived from mel command maya.cmds.modelPanel

setLabel(val=True, **kwargs)

Specifies the user readable label for the panel.

Derived from mel command maya.cmds.modelPanel

setMenuBarVisible(val=True, **kwargs)

Controls whether the menu bar for the panel is displayed.

Derived from mel command maya.cmds.modelPanel

setNeedsInit(val=True, **kwargs)

(Internal) On Edit will mark the panel as requiring initialization. Query will return whether the panel is marked for initialization. Used during file -new and file -open.

Derived from mel command maya.cmds.modelPanel

setPopupMenuProcedure(val=True, **kwargs)

Specifies the procedure called for building the panel’s popup menu(s). The default value is “buildPanelPopupMenu”. The procedure should take one string argument which is the panel’s name.

Derived from mel command maya.cmds.modelPanel

setTearOff(val=True, **kwargs)

Will tear off this panel into a separate window with a paneLayout as the parent of the panel. When queried this flag will return if the panel has been torn off into its own window.

Derived from mel command maya.cmds.modelPanel

unParent(val=True, **kwargs)

Specifies that the panel should be removed from its layout. This (obviously) cannot be used with query.

Derived from mel command maya.cmds.modelPanel

Previous topic

pymel.core.uitypes.ModelEditor

Next topic

pymel.core.uitypes.NameField

Core

Core Modules

Other Modules

This Page