Disable View Redraw Inside Python Code

Hello, all!

Is there a way to avoid views from being redrawn while a Python Code is being run? I need this because I am creating thousands of 3D Views with a FOR loop and Revit is taking too long to redraw all of them.


Eduardo Tavares