Long name (short name) |
Argument types |
Properties |
|
apiVersion(api)
|
boolean
|
|
|
application(a)
|
boolean
|
|
|
Returns the application name string.
|
|
batch(b)
|
boolean
|
|
|
Returns true if application is in batch mode.
|
|
buildDirectory(bd)
|
boolean
|
|
|
Returns the build directory string.
|
|
buildVariant(bv)
|
boolean
|
|
|
Returns the build variant string.
|
|
codeset(cs)
|
boolean
|
|
|
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)
|
boolean
|
|
|
On Linux, returns true if there is a compositing manager running; on
all other platforms, it always returns true.
|
|
connected(cnt)
|
boolean
|
|
|
Return whether the user is connected or not to the Internet.
|
|
ctime(cti)
|
boolean
|
|
|
Returns the current time in the format Wed Jan 02 02:03:55 1980\n\0
|
|
currentDate(cd)
|
boolean
|
|
|
Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.
|
|
currentTime(ct)
|
boolean
|
|
|
Returns the current time in the format hh:mm:ss, e.g. 14:27:53.
|
|
cutIdentifier(c)
|
boolean
|
|
|
date(d)
|
boolean
|
|
|
Returns the build date string.
|
|
environmentFile(env)
|
boolean
|
|
|
Returns the location of the application defaults file.
|
|
evalVersion(ev)
|
boolean
|
|
|
This flag is now deprecated. Always returns false, as the eval version is no longer supported.
|
|
file(f)
|
boolean
|
|
|
Returns the file version string.
|
|
fontInfo(foi)
|
boolean
|
|
|
Returns a string of the specifications of the
fonts requested, and the specifications of the
fonts that are actually being used.
|
|
helpDataDirectory(hdd)
|
boolean
|
|
|
Returns the help data directory.
|
|
installedVersion(iv)
|
boolean
|
|
|
Returns the product version string.
|
|
irix(ir)
|
boolean
|
|
|
Returns true if the operating system is Irix.
Always false with support for Irix removed.
|
|
is64(x64)
|
boolean
|
|
|
Returns true if the application is 64 bit.
|
|
languageResources(lr)
|
boolean
|
|
|
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)
|
boolean
|
|
|
Returns true if the operating system is Linux.
|
|
linux64(l64)
|
boolean
|
|
|
Returns true if the operating system is Linux 64 bit.
|
|
liveUpdate(lu)
|
boolean
|
|
|
Returns Autodesk formatted product information.
|
|
localizedResourceLocation(lrl)
|
boolean
|
|
|
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.
|
|
ltVersion(lt)
|
boolean
|
|
|
Returns true if this is the Maya LT version of the application.
|
|
macOS(mac)
|
boolean
|
|
|
Returns true if the operating system is Macintosh.
|
|
macOSppc(ppc)
|
boolean
|
|
|
Returns true if the operating system is a PowerPC Macintosh.
|
|
macOSx86(x86)
|
boolean
|
|
|
Returns true if the operating system is an Intel Macintosh.
|
|
ntOS(nt)
|
boolean
|
|
|
Returns true if the operating system is Windows.
|
|
operatingSystem(os)
|
boolean
|
|
|
Returns the operating system type. Valid return types are
"nt", "win64", "mac", "linux" and "linux64"
|
|
operatingSystemVersion(osv)
|
boolean
|
|
|
Returns the operating system version.
on Linux this returns the equivalent of uname -srvm
|
|
preferences(pd)
|
boolean
|
|
|
Returns the location of the preferences directory.
|
|
product(p)
|
boolean
|
|
|
Returns the license product name.
|
|
qtVersion(qt)
|
boolean
|
|
|
Returns Qt version string.
|
|
tablet(tab)
|
boolean
|
|
|
Windows only. Returns true if the PC is a Tablet PC.
|
|
tabletMode(tm)
|
boolean
|
|
|
Windows 8 (and above) only. If your device is a Tablet PC, then the convertible
mode the device is currently running in. Returns either: tablet or laptop (keyboard attached).
See the tablet flag.
|
|
uiLanguage(uil)
|
boolean
|
|
|
Returns the language that Maya's running in. Example return
values include "en_US" for English and "ja_JP" for Japanese.
|
|
uiLanguageForStartup(uis)
|
boolean
|
|
|
Returns the language that is used for Maya's next start up.
This is read from config file and is rewritten after setting
ui language in preference.
|
|
uiLanguageIsLocalized(uii)
|
boolean
|
|
|
Returns true if we are running in an alternate
language, not the default (English).
|
|
uiLocaleLanguage(ull)
|
boolean
|
|
|
Returns the language locale of the OS. English is default.
|
|
version(v)
|
boolean
|
|
|
Returns the version string.
|
|
win64(w64)
|
boolean
|
|
|
Returns true if the operating system is Windows x64 based.
|
|
windowManager(wm)
|
boolean
|
|
|
Returns the name of the Window Manager that is
assumed to be running.
|
|
windows(win)
|
boolean
|
|
|
Returns true if the operating system is Windows based.
|
|