Upload
melanie-torres-bisbal
View
263
Download
3
Embed Size (px)
DESCRIPTION
We are going to see different things about programming in Maya: - Introduction - What is MEL? - Maya API - Python - Python versus MEL - Interaction with Maya - Why PyMel? - An Intro to PyMEL Objects in Maya - Help - References
Citation preview
Maya [email protected]
http://meltobis.weebly.com/-Melanie Torres Bisbal-
Contents
Introduction
●●●●●
[1]
What is MEL? [2]
Maya Api - Python
C++ Application Programming Interface- The most flexible way to add features to Maya- Execute substantially faster than MEL- Must be compiled for new versions of Maya and for each different platform
Python API- Wrappers for many classes in the Maya C++ API- Manipulate Maya API objects in ordinary scripts
Python v.s. MEL
Python MELPython is used by all kinds of software developers and with many types of applications
More advanced scripting language and it can communicate with both Maya Command Engine and the C++ API
Python can call MEL scripts
Python handles complex data more gracefully (object-oriented)
Can access files and system data much faster
MEL has a very small userbase compared to Python because almost only Maya developers use MEL
If you have tools done in MEL there is no reason to convert them into Python
MEL can call Python scripts
Try to imitate complex data structures
Interaction with Maya
[2]
Why PyMEL?
Why PyMEL?
An Intro to PyMEL Objects in Maya
An Intro to PyMEL Objects in Maya
MEL PyMEL
Help
References