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 | ||
|
|||
buildVariant (bv) | 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. “utf8” vs. “UTF-8”). |
|||
compositingManager (cm) | bool | ||
|
|||
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 | ||
|
|||
installedVersion (iv) | bool | ||
|
|||
irix (ir) | bool | ||
|
|||
is64 (x64) | bool | ||
|
|||
languageResources (lr) | bool | ||
Returns a string array of the currently installed language resources. Each string entry consists of three elements delimited with a colon (‘:’). The first token is the locale code (ISO 639-1 language code followed by ISO 3166-1 country code). The second token is the language name in English. This third token is the alpha-3 code (ISO 639-2). For example English is represented as “en_US:English:enu”. |
|||
linux (li) | bool | ||
|
|||
linux64 (l64) | bool | ||
|
|||
liveUpdate (lu) | 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 | ||
|
|||
preferences (pd) | 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)