pymel.core.general.about

about(**kwargs)

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.

Modifications:
  • added apiVersion/_api flag to about command for version 8.5 and 8.5sp1
Flags:
  • apiVersion : api (bool) [create]

    Return the api version

  • application : a (bool) [create]

    Return the application name string

  • batch : b (bool) [create]

    Returns true if application is in batch mode.

  • buildDirectory : bd (bool) [create]

    Return the build directory string

  • codeset : cs (bool) [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. utf8vs. UTF-8).

  • currentDate : cd (bool) [create]

    Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.

  • currentTime : ct (bool) [create]

    Returns the current time in the format hh:mm:ss, e.g. 14:27:53.

  • cutIdentifier : c (bool) [create]

    Return the cut string

  • date : d (bool) [create]

    Return the build date string

  • environmentFile : env (bool) [create]

    Return the location of the application defaults file.

  • evalVersion : ev (bool) [create]

    Returns true if this is an eval version of the application.

  • file : f (bool) [create]

    Return the file version string

  • fontInfo : foi (bool) [create]

    Returns a string of the specifications of the fonts requested, and the specifications of the fonts that are actually being used.

  • irix : ir (bool) [create]

    Returns true if the operating system is Irix. Always false with support for Irix removed.

  • is64 : x64 (bool) [create]

    Returns true if the application is 64 bit.

  • linux : li (bool) [create]

    Returns true if the operating system is Linux.

  • linux64 : l64 (bool) [create]

    Returns true if the operating system is Linux 64 bit.

  • localizedResourceLocation : lrl (bool) [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.

  • macOS : mac (bool) [create]

    Returns true if the operating system is Macintosh.

  • macOSppc : ppc (bool) [create]

    Returns true if the operating system is a PowerPC Macintosh.

  • macOSx86 : x86 (bool) [create]

    Returns true if the operating system is an Intel Macintosh.

  • ntOS : nt (bool) [create]

    Returns true if the operating system is Windows.

  • operatingSystem : os (bool) [create]

    Returns the operating system type. Valid return types are nt, win64, mac, linuxand linux64

  • operatingSystemVersion : osv (bool) [create]

    Returns the operating system version. on Linux this returns the equivalent of uname -srvm

  • product : p (bool) [create]

    Return the license product name

  • qtVersion : qt (bool) [create]

    Return Qt version string

  • uiLanguage : uil (bool) [create]

    Returns the language that Maya’s running in. Example return values include en_USfor English and ja_JPfor Japanese.

  • uiLanguageIsLocalized : uii (bool) [create]

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

  • version : v (bool) [create]

    Return the version string

  • win64 : w64 (bool) [create]

    Returns true if the operating system is Windows x64 based.

  • windowManager : wm (bool) [create]

    Returns the name of the Window Manager that is assumed to be running. Flag can have multiple arguments, passed either as a tuple or a list.

  • windows : win (bool) [create]

    Returns true if the operating system is Windows based.

Derived from mel command maya.cmds.about

Previous topic

pymel.core.general.SubdVertex

Next topic

pymel.core.general.addAttr

Core

Core Modules

Other Modules

This Page