pymel.core.animation.blendShapePanel

blendShapePanel(*args, **kwargs)

This command creates a panel that derives from the base panel class that houses a blendShapeEditor.

Flags:
  • blendShapeEditor : be (bool) [query]

    Query only flag that returns the name of an editor to be associated with the panel. Flag can have multiple arguments, passed either as a tuple or a list.

  • control : ctl (bool) [query]

    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.

  • copy : cp (unicode) [edit]

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

  • createString : cs (bool) []

  • defineTemplate : dt (unicode) [create]

    Puts a command in a mode where any other flags and args are parsed and added to the command template specified in the argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set as the current template.

  • docTag : dtg (unicode) [create,query,edit]

    Attaches a tag to the maya panel.

  • editString : es (bool) []

  • exists : ex (bool) [create]

    Returns true|false depending upon whether the specified object exists. Other flags are ignored.

  • init : init (bool) [create,edit]

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

  • isUnique : iu (bool) [query]

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

  • label : l (unicode) [query,edit]

    Specifies the user readable label for the panel.

  • menuBarVisible : mbv (bool) [create,query,edit]

    Controls whether the menu bar for the panel is displayed.

  • needsInit : ni (bool) [query,edit]

    (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.

  • parent : p (unicode) [create]

    Specifies the parent layout for this panel.

  • popupMenuProcedure : pmp (callable) [query,edit]

    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.

  • replacePanel : rp (unicode) [edit]

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

  • tearOff : to (bool) [query,edit]

    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.

  • tearOffCopy : toc (unicode) [create]

    Will create this panel as a torn of copy of the specified source panel.

  • unParent : up (bool) [edit]

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

  • useTemplate : ut (unicode) [create]

    Force the command to use a command template other than the current one.

Derived from mel command maya.cmds.blendShapePanel

Previous topic

pymel.core.animation.blendShapeEditor

Next topic

pymel.core.animation.blendTwoAttr

Core

Core Modules

Other Modules

This Page