yes you could use different contexts. Anyway in maya its pointless to ask not to redraw bacuas may redraws nothing unless told to do so.
QUOTE(AndyJ @ 05/13/06, 09:21 AM) [snapback]237122[/snapback]
but that is not possible in this case because it's a set of mixed MEL / API calls.
I dont undrstand this statement, as it makes absolutely no sense. Thing is if your doing mixed api/mel calls you need to call them form somewhere right. And bacuse theres no other way to itegrate this than making mel commands out of your api calls you can expose them inside one proc! If you cant then somethg wierd indeed is going on wich you probably shouldnt meddle with in firstplace.
Even if the commends were to come form a external source you can still loop it inside a mel proc. Your proc might be a infinite loop that waits whatever it is your doing to finish by polling one commend continiously.
CurrentTime -u wont work but following example will! Note current time itself implies a refresh unfortunately. se below how to fix that.
CODE
for ($i=0;$i<10000;$i++){
setAttr "time1.outTime" $i;
print `getAttr "nurbsSphere1.translateX"`;
}
//note this is WAY fatser using current time!
//4 secs versus 142 secs to be exact.
N