pymel.versions¶
Functions for getting and comparing versions of Maya.
Class for storing apiVersions, which are the best method for comparing versions.
>>> from pymel import versions
>>> if versions.current() >= versions.v2008:
... print "The current version is later than Maya 2008"
The current version is later than Maya 2008
Functions
| bitness | The bitness of python running inside Maya as an int. |
| current | Get the current version of Maya |
| flavor | The ‘flavor’ of this instance of Maya |
| fullName | |
| installName | |
| is64bit | Whether this instance of Maya is 64-bit |
| isComplete | Whether this instance of Maya is ‘Unlimited’ (deprecated) |
| isEval | Whether this instance of Maya is an evaluation edition |
| isRenderNode | |
| isUnlimited | Whether this instance of Maya is ‘Unlimited’ (deprecated) |
| parseVersionStr | Parse a verbose version string (like the one displayed in the Maya title bar) and return the base version. |
| shortName |