Go to: Synopsis. Flags. Return value. Related. Python examples.

Synopsis

about([application=boolean], [batch=boolean], [buildDirectory=boolean], [codeset=boolean], [currentDate=boolean], [currentTime=boolean], [cutIdentifier=boolean], [date=boolean], [environmentFile=boolean], [evalVersion=boolean], [file=boolean], [irix=boolean], [is64=boolean], [linux=boolean], [linux64=boolean], [localizedResourceLocation=boolean], [macOS=boolean], [macOSppc=boolean], [macOSx86=boolean], [ntOS=boolean], [operatingSystem=boolean], [operatingSystemVersion=boolean], [product=boolean], [uiLanguage=boolean], [uiLanguageIsLocalized=boolean], [version=boolean], [win64=boolean], [windows=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

about is undoable, queryable, and 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.

Flags

application, batch, buildDirectory, codeset, currentDate, currentTime, cutIdentifier, date, environmentFile, evalVersion, file, irix, is64, linux, linux64, localizedResourceLocation, macOS, macOSppc, macOSx86, ntOS, operatingSystem, operatingSystemVersion, product, uiLanguage, uiLanguageIsLocalized, version, win64, windows
Long name (short name) [argument types] Properties
cutIdentifier(c) boolean query
Return the cut string

In query mode, this flag needs a value.

version(v) boolean query
Return the version string

In query mode, this flag needs a value.

file(f) boolean query
Return the file version string

In query mode, this flag needs a value.

product(p) boolean query
Return the license product name

In query mode, this flag needs a value.

date(d) boolean query
Return the build date string

In query mode, this flag needs a value.

application(a) boolean query
Return the application name string

In query mode, this flag needs a value.

buildDirectory(bd) boolean query
Return the build directory string

In query mode, this flag needs a value.

environmentFile(env) boolean query
Return the location of the application defaults file.

In query mode, this flag needs a value.

operatingSystem(os) boolean query
Returns the operating system type. Valid return types are "nt", "win64", "mac", "irix", "linux" and "linux64"

In query mode, this flag needs a value.

operatingSystemVersion(osv) boolean query
Returns the operating system version. on Linux this returns the equivalent of uname -srvm

In query mode, this flag needs a value.

ntOS(nt) boolean query
Returns true if the operating system is Windows.

In query mode, this flag needs a value.

windows(win) boolean query
Returns true if the operating system is Windows based.

In query mode, this flag needs a value.

win64(w64) boolean query
Returns true if the operating system is Windows x64 based.

In query mode, this flag needs a value.

irix(ir) boolean query
Returns true if the operating system is Irix.

In query mode, this flag needs a value.

evalVersion(ev) boolean query
Returns true if this is an eval version of the application.

In query mode, this flag needs a value.

linux(li) boolean query
Returns true if the operating system is Linux.

In query mode, this flag needs a value.

linux64(l64) boolean query
Returns true if the operating system is Linux 64 bit.

In query mode, this flag needs a value.

batch(b) boolean query
Returns true if application is in batch mode.

In query mode, this flag needs a value.

macOS(mac) boolean query
Returns true if the operating system is Macintosh.

In query mode, this flag needs a value.

macOSppc(ppc) boolean query
Returns true if the operating system is a PowerPC Macintosh.

In query mode, this flag needs a value.

macOSx86(x86) boolean query
Returns true if the operating system is an Intel Macintosh.

In query mode, this flag needs a value.

currentDate(cd) boolean query
Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.

In query mode, this flag needs a value.

currentTime(ct) boolean query
Returns the current time in the format hh:mm:ss, e.g. 14:27:53.

In query mode, this flag needs a value.

is64(x64) boolean query
Returns true if the application is 64 bit.

In query mode, this flag needs a value.

uiLanguage(uil) boolean query
Returns the language that Maya's running in. Example return values include "en_US" for English and "ja_JP" for Japanese.

In query mode, this flag needs a value.

uiLanguageIsLocalized(uii) boolean query
Returns true if we are running in an alternate language, not the default (English).

In query mode, this flag needs a value.

localizedResourceLocation(lrl) boolean query
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.

In query mode, this flag needs a value.

codeset(cs) boolean query
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").

In query mode, this flag needs a value.


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.

Return value


string The application's version information.

Related

fileInfo

Python examples

import maya.cmds as cmds

cmds.about( )

version = cmds.about(v=True)