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 | |
---|---|---|---|
apiVersion (api) | bool | ||
|
|||
application (a) | bool | ||
|
|||
batch (b) | bool | ||
|
|||
buildDirectory (bd) | bool | ||
|
|||
codeset (cs) | bool | ||
Returns a string identifying the codeset (codepage) of the locale that Maya is running in. Example return values include UTF-8, ISO-8859-1, 1252. Note that the codeset values and naming conventions are highly platform dependent. They may differ in format even if they have the same meaning (e.g. utf8vs. UTF-8). |
|||
connected (cnt) | bool | ||
currentDate (cd) | bool | ||
|
|||
currentTime (ct) | bool | ||
|
|||
cutIdentifier (c) | bool | ||
|
|||
date (d) | bool | ||
|
|||
environmentFile (env) | bool | ||
|
|||
evalVersion (ev) | bool | ||
|
|||
file (f) | bool | ||
|
|||
fontInfo (foi) | bool | ||
|
|||
helpDataDirectory (hdd) | bool | ||
irix (ir) | bool | ||
|
|||
is64 (x64) | bool | ||
|
|||
linux (li) | bool | ||
|
|||
linux64 (l64) | bool | ||
|
|||
localizedResourceLocation (lrl) | bool | ||
Returns the path to the top level of the localized resource directory, if we are running in an alternate language. Returns an empty string if we are running in the default language. |
|||
macOS (mac) | bool | ||
|
|||
macOSppc (ppc) | bool | ||
|
|||
macOSx86 (x86) | bool | ||
|
|||
ntOS (nt) | bool | ||
|
|||
operatingSystem (os) | bool | ||
|
|||
operatingSystemVersion (osv) | bool | ||
|
|||
product (p) | bool | ||
|
|||
qtVersion (qt) | bool | ||
|
|||
uiLanguage (uil) | bool | ||
|
|||
uiLanguageIsLocalized (uii) | bool | ||
|
|||
version (v) | bool | ||
|
|||
win64 (w64) | bool | ||
|
|||
windowManager (wm) | bool | ||
|
|||
windows (win) | bool | ||
|
Derived from mel command maya.cmds.about
Example:
import pymel.core as pm
pm.about( )
version = pm.about(v=True)