pymel.core.general.contextInfo

contextInfo(*args, **kwargs)

This command allows you to get information on named contexts.

Flags:
  • apiImage1 : ip1 (unicode) []

  • c : c (bool) [create]

    Return the class type of the named context.

  • escapeContext : esc (bool) [create]

    Return the command string that will allow you to exit the current tool.

  • exists : ex (bool) [create]

    Return true if the context exists, false if it does not exists (or is internal and therefore untouchable)

  • image1 : i1 (bool) [create]

    Returns the name of an xpm associated with the named context.

  • image2 : i2 (bool) [create]

    Returns the name of an xpm associated with the named context.

  • image3 : i3 (bool) [create]

    Returns the name of an xpm associated with the named context. Flag can have multiple arguments, passed either as a tuple or a list.

  • title : t (bool) [create]

    Return the title string of the named context.

Derived from mel command maya.cmds.contextInfo

Previous topic

pymel.core.general.containerView

Next topic

pymel.core.general.copyAttr

Core

Core Modules

Other Modules

This Page