Do you want to time a cmds.file() operation that you are running? If so,
just time it yourself:

import time
start = time.time()
cmds.file(...)
end = time.time()-start

If you want a hook into when a standard file operation is happening,
outside of your control, then you can use MSceneMessage to hook into the
before/after callbacks:
http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_scene_message.html

On Wed, Jul 8, 2015 at 3:00 PM likage <[email protected]> wrote:

> Hi all,
>
> I suppose this question of mine can only be done by scripting...
> Was wondering if there are any ways to check the time - how long Maya
> takes to open a file?
>
>
>  --
> 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/aaf774c1-7e21-433b-99e6-0a7605f00445%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/aaf774c1-7e21-433b-99e6-0a7605f00445%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPGFgA2a-ym2a3gkJq%2B4mvzjEB0-h_o8RQVaQxaqQ2Zp6V1Usw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to