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], [status=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, status, usage
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( )
method = cmds.license(licenseMethod=True)