PyMEL is here and official and everyone can make it even better.
Congratulations Chad and everyone who is working on PyMEL!
John Creson
Thanks,
Sebastian
I've been one of those fence-sitters and I can't wait to get down from
there.
-sjt
Great job
Congratulations for all the hard work. I'm looking forward to using
it.
- Drake
Congratulations on such a great news!!
having trouble believing the news? it's for real. do you really think i'd make all this up? :)
-chad
just like maya.cmds, you'll have to import it to use it, but it will be installed by default in maya's site-packages directory.
-chad
Cheers,
Szabolcs
PyMEL is included with Maya2011
Start Maya;
open the scriptEditor;
import pymel.core as pm
...
I like namespaces :)
JohnCreson
Autodesk
MayaQA
2010/3/11 Miguel González Viñé <lich...@gmail.com>:
> --
> http://groups.google.com/group/python_inside_maya
--
Matthew S. Thorson || FX Artist
Thank you so much Chad. You are amazing... Pymel is the cheese for my
Maya Macaroni
thanks again all..
john van der Zalm
just to be clear, PyMEL is not an alternative to "python", it's a python package that builds on the maya package, and thus is an alternative to maya's native maya package.
this questions has been asked a number of times on this list. here are some previous responses. others might feel inclined to jump in with some more insight:
i also think the comparison on our home page goes a long way toward demonstrating the benefits: http://code.google.com/p/pymel/
To summarize:
object oriented code
tons of utilities you'll likely end up having to write yourself otherwise:
python-to-mel and mel-to-python glue, including a mel-to-python translator, and a python-to-mel translator
api utilities
version comparison
object name parsing
callbacks
makes using python from command line work the same as in the gui
data classes
math: vectors, matrices, etc
paths: object-oriented file/path manipulation
frequent bug fixes and point releases, including fixes to maya's own code
user-friendly
docstrings for all classes and commands: ie. the python help() command actually serves a purpose
intuitive to write
bells and whistles
proper exception classes
use of python "with" statement to simplify ui building
support for python attribute editor templates
the list goes on and on.
look, i'll be honest with you: maya's python implementation is an abysmal failure, and it's getting better at a snail's pace. pymel works the way that a python package should and it will save you a lot of time.
-chad
Is there a recommended Editor w/PyMel syntax hiliting?