Long name (short name) |
Argument types |
Properties |
-cutIdentifier(-c)
|
|
|
|
-version(-v)
|
|
|
|
Return the version string
|
|
-installedVersion(-iv)
|
|
|
|
Return the product version string
|
|
-qtVersion(-qt)
|
|
|
|
-apiVersion(-api)
|
|
|
|
-file(-f)
|
|
|
|
Return the file version string
|
|
-product(-p)
|
|
|
|
Return the license product name
|
|
-date(-d)
|
|
|
|
Return the build date string
|
|
-application(-a)
|
|
|
|
Return the application name string
|
|
-buildDirectory(-bd)
|
|
|
|
Return the build directory string
|
|
-environmentFile(-env)
|
|
|
|
Return the location of the application defaults file.
|
|
-preferences(-pd)
|
|
|
|
Return the location of the preferences directory.
|
|
-operatingSystem(-os)
|
|
|
|
Returns the operating system type. Valid return types are
"nt", "win64", "mac", "linux" and "linux64"
|
|
-operatingSystemVersion(-osv)
|
|
|
|
Returns the operating system version.
on Linux this returns the equivalent of uname -srvm
|
|
-ntOS(-nt)
|
|
|
|
Returns true if the operating system is Windows.
|
|
-windows(-win)
|
|
|
|
Returns true if the operating system is Windows based.
|
|
-win64(-w64)
|
|
|
|
Returns true if the operating system is Windows x64 based.
|
|
-irix(-ir)
|
|
|
|
Returns true if the operating system is Irix.
Always false with support for Irix removed.
|
|
-evalVersion(-ev)
|
|
|
|
Returns true if this is an eval version of the application.
|
|
-linux(-li)
|
|
|
|
Returns true if the operating system is Linux.
|
|
-linux64(-l64)
|
|
|
|
Returns true if the operating system is Linux 64 bit.
|
|
-batch(-b)
|
|
|
|
Returns true if application is in batch mode.
|
|
-macOS(-mac)
|
|
|
|
Returns true if the operating system is Macintosh.
|
|
-macOSppc(-ppc)
|
|
|
|
Returns true if the operating system is a PowerPC Macintosh.
|
|
-macOSx86(-x86)
|
|
|
|
Returns true if the operating system is an Intel Macintosh.
|
|
-currentDate(-cd)
|
|
|
|
Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.
|
|
-currentTime(-ct)
|
|
|
|
Returns the current time in the format hh:mm:ss, e.g. 14:27:53.
|
|
-is64(-x64)
|
|
|
|
Returns true if the application is 64 bit.
|
|
-uiLanguage(-uil)
|
|
|
|
Returns the language that Maya's running in. Example return
values include "en_US" for English and "ja_JP" for Japanese.
|
|
-uiLanguageIsLocalized(-uii)
|
|
|
|
Returns true if we are running in an alternate
language, not the default (English).
|
|
-localizedResourceLocation(-lrl)
|
|
|
|
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.
|
|
-languageResources(-lr)
|
|
|
|
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".
|
|
-codeset(-cs)
|
|
|
|
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").
|
|
-fontInfo(-foi)
|
|
|
|
Returns a string of the specifications of the
fonts requested, and the specifications of the
fonts that are actually being used.
|
|
-windowManager(-wm)
|
|
|
|
Returns the name of the Window Manager that is
assumed to be running.
|
|
-connected(-cnt)
|
|
|
|
Return whether the user is connected or not to the Internet.
|
|
-helpDataDirectory(-hdd)
|
|
|
|
Returns the help data directory.
|
|
-liveUpdate(-lu)
|
|
|
|
Returns Autodesk formatted product information.
|
|