We have currently most of our scripts using Maya's Python and couple of nodes using the Maya Python API. Is there an efficiency difference to convert the python scripts using the python API? The scripts that we are considering are the Export scripts which seem to take from 5secs upto couple minutes (depending on the scene). Another potential script would be our series of uv handling scripts.
Thanks, I'm trying to decide if we need to make the change just for our Maya exporter to Granny. It currently runs slow with its series of setting values and traversing through the objects and the animation sequences.
QUOTE(Overdrive D @ 09/06/07, 04:37 PM) [snapback]272909[/snapback] Hey,
We have currently most of our scripts using Maya's Python and couple of nodes using the Maya Python API. Is there an efficiency difference to convert the python scripts using the python API? The scripts that we are considering are the Export scripts which seem to take from 5secs upto couple minutes (depending on the scene). Another potential script would be our series of uv handling scripts.
Thanks in advance
I'm knew to Python so please bare with me. What is the difference between python and Python API and how do they relate to the Maya API?
Overdrive diamond is reffering to mayas duality, Maya has 2 inetrfaces scripting and api. Nand now later python versions FOR BOTH of theese. The cmds section of python is the same thing as mel. The api section of python is just a python binding to maya pi, ergo they are the same thing.