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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
borrow (b) | bool | ||
|
|||
info (i) | bool | ||
|
|||
isBorrowed (ib) | bool | ||
|
|||
isExported (ie) | bool | ||
|
|||
isTrial (it) | bool | ||
|
|||
licenseMethod (lm) | bool | ||
|
|||
productChoice (pc) | bool | ||
|
|||
r (r) | bool | ||
|
|||
showBorrowInfo (sbi) | bool | ||
|
|||
showProductInfoDialog (spi) | bool | ||
|
|||
status (s) | bool | ||
|
Derived from mel command maya.cmds.license
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.license( )
method = pm.license(licenseMethod=True)