I am trying to speed up my macro function. Is there a way to hold off on displaying my commands until the process is over?

I am trying to run a macro that creates a lot of points and then connects them with a spline (and declares every point coincident). When I run the file at a small number of points, it is relatively quick, but the time to run scales exponentially and I cannot get a reasonable run-time for the number of points I would like.

Are there any ways to speed up the process? I was thinking about trying to prevent the visuals from updating until the end, but cannot find any documentation on that.

Thanks.

SolidworksApi macros