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

Synopsis

about [-apiVersion] [-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]

about 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.

Return value

stringThe application's version information.

Related

fileInfo

Flags

apiVersion, 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) create
Return the cut string
-version(-v) create
Return the version string
-apiVersion(-api) create
Return the api version
-file(-f) create
Return the file version string
-product(-p) create
Return the license product name
-date(-d) create
Return the build date string
-application(-a) create
Return the application name string
-buildDirectory(-bd) create
Return the build directory string
-environmentFile(-env) create
Return the location of the application defaults file.
-operatingSystem(-os) create
Returns the operating system type. Valid return types are "nt", "win64", "mac", "linux" and "linux64"
-operatingSystemVersion(-osv) create
Returns the operating system version. on Linux this returns the equivalent of uname -srvm
-ntOS(-nt) create
Returns true if the operating system is Windows.
-windows(-win) create
Returns true if the operating system is Windows based.
-win64(-w64) create
Returns true if the operating system is Windows x64 based.
-irix(-ir) create
Returns true if the operating system is Irix. Always false with support for Irix removed.
-evalVersion(-ev) create
Returns true if this is an eval version of the application.
-linux(-li) create
Returns true if the operating system is Linux.
-linux64(-l64) create
Returns true if the operating system is Linux 64 bit.
-batch(-b) create
Returns true if application is in batch mode.
-macOS(-mac) create
Returns true if the operating system is Macintosh.
-macOSppc(-ppc) create
Returns true if the operating system is a PowerPC Macintosh.
-macOSx86(-x86) create
Returns true if the operating system is an Intel Macintosh.
-currentDate(-cd) create
Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.
-currentTime(-ct) create
Returns the current time in the format hh:mm:ss, e.g. 14:27:53.
-is64(-x64) create
Returns true if the application is 64 bit.
-uiLanguage(-uil) create
Returns the language that Maya's running in. Example return values include "en_US" for English and "ja_JP" for Japanese.
-uiLanguageIsLocalized(-uii) create
Returns true if we are running in an alternate language, not the default (English).
-localizedResourceLocation(-lrl) create
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.
-codeset(-cs) create
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").

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 be used more than once in a command.

MEL examples

about;

string $version = `about -v`;