SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
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
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
5.
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
6.
Python v.s. MEL
Python MEL
Python 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