Note: The `node` *must* be the long node name. """Iter parents of node from its long name. For more information, see "Maya Python API 2.0" and "Maya Python API 2.0 Reference" in the Maya Developer Help."""When using with allDescendents=True it will only return the first instanced child.īelow are some example functions that correctly return all instanced children where they are "somewhat" optimized to rapidly return a result as opposed to slow recursive queries. It is also a newer API, and is still under development, so not all classes exposed in 1.0 are available. This wrapper has better performance and is more "Pythonic" than the Python API 1.0. This is a Python wrapper for the Maya C++ API, and referred to as Python API 2.0. For more information, see "Maya Python API 1.0" in the Maya Developer Help. To understand the exposed classes, you should refer to the conceptual topics and the "C++ API Reference" in the Maya Developer Help. It is suitable for developing plug-ins, and other tasks that require functionality not exposed by MEL. This is a Python wrapper for the Maya C++ API, and referred to as Python API 1.0. For more information, see Using PyMEL and the PyMel Reference. It organizes commands differently, and takes an object-oriented approach compared to the procedural approach of maya.cmds. It is shipped with Maya, but not supported by Autodesk. re Pymel is an alternative wrapper for MEL, developed by a third party. For more information, see Using Python and the Python Commands Reference. This is a Python wrapper for MEL commands, and can be used in place of MEL. The following is a brief overview of the Python libraries shipped with Maya: maya.cmds Python scripting can be used for many tasks in Maya, from running simple commands to developing plug-ins, and several different Maya-related libraries are available targeting different tasks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |