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
 
Borrow a network license
info (i) bool ../../../_images/create.gif
 
Display license informationFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
isBorrowed (ib) bool ../../../_images/create.gif
 
Returns true if the current license is borrowed
isExported (ie) bool ../../../_images/create.gif
 
Return the cut string
isTrial (it) bool ../../../_images/create.gif
 
Return the cut string
licenseMethod (lm) bool ../../../_images/create.gif
 
Return the current license method
productChoice (pc) bool ../../../_images/create.gif
 
Return the current product choice
r (r) bool ../../../_images/create.gif
 
Return the cut string
showBorrowInfo (sbi) bool ../../../_images/create.gif
 
Show the Borrow Information Dialog
showProductInfoDialog (spi) bool ../../../_images/create.gif
 
Show the Product Information Dialog
status (s) bool ../../../_images/create.gif
 
Return the cut string

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)

Previous topic

pymel.core.general.itemFilterType

Next topic

pymel.core.general.listAttr

Core

Core Modules

Other Modules

This Page