Module Documentation

pymel.core

The primary sub-package.

The following submodules are brought directly into the pymel.core namespace. They contain all of the wrapped maya.cmds functions.

pymel.core.datatypes

Data classes that are returned by functions within pymel.core. Automatially imported into pymel.core as pymel.core.dt.

pymel.core.nodetypes

Classes corresponding to each node type in Maya. Returned by functions within pymel.core. Automatially imported into pymel.core as pymel.core.nt.

pymel.core.uitypes

Classes corresponding to each UI type in Maya. Returned by functions within pymel.core. Automatially imported into pymel.core as pymel.core.ui.

pymel.core.runtime

Runtime commands are kept in their own namespace to avoid conflicts with other functions and classes.

pymel.util

Utilities that are independent of Maya.

pymel.versions

Functions for getting and comparing versions of Maya. Can be safely imported without initializing maya.cmds.

pymel.mayautils

Utilities for getting Maya resource directories, sourcing scripts, and executing deferred. Can be safely imported without initializing maya.cmds.