Indeed, pymel is a wrapper and is often slower than mel or maya.cmds.
But it depends. If you need speed, e.g. if you want to manipulate a lot of 
points, then there is a huge speed difference.

We use pymel for all non speed critical things and c++ or maya python api for 
everything else what is a very nice combination.


> I have one other question that has been bugging me for some time.  
> 
> A colleague of mine mentioned he never uses PyMel because cmds sits closer to 
> the mel side of things, so I was wondering about speed of execution between 
> the two. 
> 
> 
> From a personal preference I really like PyMel, there are some extra bits in 
> there that make life super easy and syntactically pm and cmds are very 
> similar. I did some digging about this and the results were always the same 
> "its personal preference"
> 
> 
> Is there truly any massive speed benefit in using cmds vs pm? 

-- 
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/c817389a-70a8-4408-a09e-a16afb77048b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to