Home/ Reference/ View & Performance

app.Refresh()

Forces a redraw. With Optimization suppressing redraws, call this when you want to see the result.

Signature

app.Refresh()

Notes

Forces a redraw. With Optimization suppressing redraws, call this when you want to see the result.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
app.Optimization = True
# ... a pile of edits ...
app.Optimization = False
app.Refresh()                                       # repaint immediately
print("View refreshed")

About this section: View & Performance

View & Performance — display and performance switches.

Other entries in this section