Freeze/Hide GUI Updates

I am writing a script that takes pictures of each connection in a model from different orientations. I have it up and running, but I am trying to make it run faster because when there are a lot of connections it takes a long time. A large chunk of that time is taken up by updating the graphics. Is there any way to stop updating the GUI? I am using 2023R1, but I am upgrading soon.
Comments
-
@bobbyBones It is possible to freeze the GUI, by incorporating your piece of code into a
with Transaction ()
loop. However, if we suspend the graphics display, the pictures you will be taking will always be the same, as the display of the orientation will not change ...0 -
Saw this was also raised here: https://discuss.ansys.com/discussion/4791/disable-gui-updates-using-scripting
0