Maya froze when executing python loop
I know maya is mainly using single core for the UI. Let`s say I want to update the viewport each time i iterate through a for loop.
I attempted an approach by using generator. In this generator, I create a joint then print the name of the joint. But it`s only working on the scripts editor (print statements). The UI froze and updated after all joints were created.
I know it`s not a big deal, but just in case :)
Thanks
I think what you're looking for is the "Refresh" command. Which will force a redraw of the UI.
http://download.autodesk.com/us/maya/2011help/CommandsPython/refresh.html