pymel.util.common¶
Commonly used utilities
Functions
| cacheProperty | a property type for getattr functions that only need to be called once per instance. | ||
| capitalize | Python’s string ‘capitalize’ method is NOT equiv. | ||
| escape | Escape all non-alphanumeric characters in pattern. | ||
| inMaya | Returns True if called from a fully initialized Maya session. | ||
| interpreterBits | Returns the number of bits of the architecture the interpreter was compiled on (ie, 32 or 64). | ||
| subpackages | Given a module object, returns an iterator which yields a tuple (modulename, moduleobject, ispkg) for the given module and all it’s submodules/subpackages. | ||
| timer | |||
| toZip | Sample for storing directory to a ZipFile | ||
| uncapitalize | preserveAcronymns enabled ensures that ‘NTSC’ does not become ‘nTSC’ | ||
| unescape |
|
Classes
| path | Represents a filesystem path. |