On Sun, Nov 23, 2014 at 8:40 PM, Janos Hunyadi <[email protected]> wrote:

> Better just calling straight up mel commands from the c++ Api. Maya
> converts these wrapped python commands back to mel anyway.
>

I believe this is not strictly true... I think the python bindings are made
to the underlying C++ core, not mel.  However, the underlying implication
is that the MEL commands are faster... which may be the case. (The python
interpreter may be slower than it's MEL counterpart... would be interesting
to test that, actually.)  Assuming you're just using straight maya.mcds,
though, I doubt the difference is enough to be very noticeable - I would
say use which-ever language you're more comfortable with.

Oh, and the command to execute code in python basically mirrors the one for
mel - MGlobal::executePythonCommand(...)

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAAssL7a%2BueNojccUn7F9EUFbKh4tZtYXiGN4YttQqwriyiRfQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to