pymel.core.general.license

license(*args, **kwargs)

This command displays version information about the application if it is executed without flags. If one of the above flags is specified then the specified version information is returned.

Flags:

Long Name / Short Name Argument Types Properties
borrow / b bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
info / i bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
isBorrowed / ib bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
isExported / ie bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
isTrial / it bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
licenseMethod / lm bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
productChoice / pc bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
r / r bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
showBorrowInfo / sbi bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
showProductInfoDialog / spi bool ../../../_images/create.gif
  Show the Product Information Dialog
status / s bool ../../../_images/create.gif
  This flag is obsolete and no longer supported.
usage / u bool ../../../_images/create.gif
  This flag is obsolete and no longer supported. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.license

Example:

import pymel.core as pm

pm.license( )

method = pm.license(licenseMethod=True)