Maya standalone timeline speed

38 views
Skip to first unread message

Alejandro

unread,
Sep 2, 2022, 5:49:09 PM9/2/22
to Python Programming for Autodesk Maya
Hello I want to measure how long does an animation playback takes in both maya UI and standalone.

If I load any animation in maya and do a playback like this:

for t in range(1, 100, 1):
    cmds.currentTime(t)

it takes around 2 minutes to complete in maya UI.

But if I do the same with the same scene in maya standalone it takes 0.1 seconds, why is that fast ?

I tried disabling viewport in the maya UI to see if it's the viewport calculation  but not much difference, almost the same 2 minutes.

is there any way to reproduce in standalone the same as the maya UI playback times ?


Tenghao Wang

unread,
Sep 2, 2022, 6:12:43 PM9/2/22
to python_in...@googlegroups.com
I suggest you do a Maya profiler and check your scene performance there. I don't think viewport render and update is gonna make that much difference from 0.1 seconds to 120 seconds, 1200 times faster.
Here is an example of my profiling result. Turn off viewport can only remove the scene update and render part.
image.png


--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/6146405e-bbeb-41ae-8052-eec161f9e2e0n%40googlegroups.com.

Alejandro

unread,
Sep 2, 2022, 6:34:55 PM9/2/22
to python_in...@googlegroups.com
Thanks Tenghao for you answer.

I'll give it a try, I wonder if I can use cmds.profiler in maya standalone, I'll check and come back ! :D

Alejandro Cabrera
__________________________



Reply all
Reply to author
Forward
0 new messages