>
> The cmds equivalent of MEventMessage is 
>
> cmds.scriptJob(event='idle', fn)
>
> I haven't used it for a very long time but I think the fn might need to be 
> a string representing MEL code.
>
> Or you might be better off with evalDeferred:
>
> cmds.evalDeferrred('print "a"')
> cmds.evalDeferrred('print "b"', lowPriority=True)
> cmds.evalDeferrred('print "c"', lowestPriority=True)
>
>
> None of this is exactly what you want, I know. I looked into it briefly 
> last year and didn't see any simple way to do it.
>

Hi Michael, thanks for the information, appreciate it. No worries about 
that, I was simply looking to see if there is a way to 'catch' the end of 
the vp2 processing...
It also does seems a bit hard in my case if I am dealing with different 
poly counts, just realizing that when I was opening a very heavy scene file 
as the 'viewpoint 2.0 processing' message pops up every now and then as I 
tried to unhide new geometries or doing some viewport navigation. 

-- 
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/abc4b263-e3b3-4df3-92fe-26d814218ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to