The OpenMaya API is pretty crippled and missing tons of stuff from what
I've read, seen, and worked with. It's a lot of bloated code to just
get to objects you want. As Raf mentioned before though some things
need to be run through it for performance sake. Getting and setting
envelope weights for example. For the majority of the stuff I'm doing
in Maya for tools and scripts it's PyMel.
Eric T.
On Wednesday, July 09, 2014 10:35:05 AM, Mike Donovan wrote:
Hey Guys,
I too am moving from Softimage’s Python API to Maya’s python API … its
seems pretty robust so far. Love that PySide is built in.
I am wondering if you need to use PyMel … or if you can access
everything directly through an object model API with Python. I am
about to convert a lot of our tools this week.
Also .. I would recommend checking out the Charcoal editor … its
really sweet and has auto-completion for much of the api.
M
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Siew
Yi Liang
*Sent:* Monday, May 05, 2014 12:10 PM
*To:* [email protected]
*Subject:* Re: Softimage Python versus Maya Python
Hi Hirazi:
It doesn't talk about PyMEL, and yes it's super-old, and it's written
in a very non-pythonic manner, but it's still a good resouce imho.
Still, for what it is (and its price) it's about the most
comprehensive beginner's intro guide to working with Maya (and some
API stuff as well!) that I know of for now. :D
If you prefer video tutorials, Chad Vernon's stuff on CGCircuit is
pretty nice, and he has some basic stuff on his site, too:
http://www.chadvernon.com/blog/resources/python-scripting-for-maya-artists/python-in-maya/
HTH!
Yours sincerely,
Siew Yi Liang
On 5/5/2014 8:47 AM, Leendert A. Hartog wrote:
Thanks for the kind offer, I'm afraid I'm going to have to take
you up on that... ;)
On the CGTalk the book you mention was said to be somewhat outdated,
which I cannot really judge for myself, lacking the necessary Maya
experience,
they advised me to wait for "Practical Maya Programming with
Python" by Robert Galanakis
but looking at the website of the publisher it is somewhat of a
mystery when it will actually be released.
And I am terrible at waiting... :D
Greetz
Leendert
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________