Go to: Synopsis. Return value. Flags. Python examples.
license([borrow=boolean], [info=boolean], [isBorrowed=boolean], [isExported=boolean], [isTrial=boolean], [licenseMethod=boolean], [productChoice=boolean], [r=boolean], [showBorrowInfo=boolean], [showProductInfoDialog=boolean], [usage=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
license is undoable, NOT queryable, and NOT editable.
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.
string | The application's license information. |
borrow, info, isBorrowed, isExported, isTrial, licenseMethod, productChoice, r, showBorrowInfo, showProductInfoDialog, usage
Long name (short name) |
Argument types |
Properties |
|
borrow(b)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
info(i)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
isBorrowed(ib)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
isExported(ie)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
isTrial(it)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
licenseMethod(lm)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
productChoice(pc)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
r(r)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
showBorrowInfo(sbi)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
showProductInfoDialog(spi)
|
boolean
|
|
|
Show the Product Information Dialog
|
|
usage(u)
|
boolean
|
|
|
This flag is obsolete and no longer supported.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
cmds.license(showProductInfoDialog=True)