Script execution speed

Script execution speed

Anonymous
Not applicable
516 Views
3 Replies
Message 1 of 4

Script execution speed

Anonymous
Not applicable
hey guys,
i posted a topic earlier (3rd one on the list) but I solved that. The problem I'm having now is that the script doesn't run with enough speed to accommodate the sampling rate of the other app i'm using.

The documentation , if i remember correctly, mentioned something about API being 10 times faster than MEL. What about Python? if I translate my script to python, will it run faster?

Note: the script is a simple read file and update model attributes script.

Thanks in advance.
0 Likes
517 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
I would think that the fileIO slows down your script the most. Doing the same thing in Python isn't going to improve the situation much. Instead of reading a file, can you not use the commandPort to talk to the other app directly?
0 Likes
Message 3 of 4

Anonymous
Not applicable
That s very interesting Michiel, I ll have to take a deeper look into that. I dont quite understand the concept of it though, have u ever used it ? n if so , for wat purposes? I m using the script for motion capture which is also referenced in the help file of the command. So I think that might be the solution. Thanks a lot!
0 Likes
Message 4 of 4

Anonymous
Not applicable
Hello There,
How about this?

Download

I wrote this simple application so our character and static team can quickly update their texture (file node in Maya) inside Photoshop. You can do a lot of cool stuff with this application ie... P4 to Maya, Motion Builder to Maya, etc...


Thank You,
Norbert Nacu
0 Likes