Alright.. it seems your speed problem is located somewhere else... FWIW,
here one of our dynamics baking tool (sequentially set current time, set
some keys on some stuff, over a time range) got a *really* big boost in
performance with this very simple step,

I hope you'll find the bottleneck, because you'll probably be really
surprised for the amount of speed you may gain is this kind of usecases.




Le mer. 25 juil. 2018 à 23:16, yann19 <yangki...@gmail.com> a écrit :

> Hi combi,
>
> Sorry for the late reply. I do not think the use of `cmds.refresh()` may
> have any effects here.
> Rather, it is the `setting` of the currentTime that seemingly needs to be
> action so that the baking of keyframes are done properly.
>
> --
> 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_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/2ee6fa25-1366-4c83-90bf-2772f4232167%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/2ee6fa25-1366-4c83-90bf-2772f4232167%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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAD65uqkdtm2xNz3kw_ZutA2S7%2BA%2BsNUBbRLdnveYCFgX7juMfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to