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 This flag is obsolete and no longer supported. info / i bool This flag is obsolete and no longer supported. isBorrowed / ib bool This flag is obsolete and no longer supported. isExported / ie bool This flag is obsolete and no longer supported. isTrial / it bool This flag is obsolete and no longer supported. licenseMethod / lm bool This flag is obsolete and no longer supported. productChoice / pc bool This flag is obsolete and no longer supported. r / r bool This flag is obsolete and no longer supported. showBorrowInfo / sbi bool This flag is obsolete and no longer supported. showProductInfoDialog / spi bool Show the Product Information Dialog status / s bool usage / u bool 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)