I'm trying to create a script similar to drawing script DTools Dview. But I'm getting bad results, because the screen has to refresh for every change made in the viewport, and all lines must be redrawn again.
Those are the sentences that refresh and clears the screen, that are giving me headaches:
gw.enlargeUpdateRect #whole
gw.updateScreen()
Any idea to draw many lines without refreshing or clearing the screen by each change I do?
Thank you