Script file limitations and exucution time

Hello all,

This is a two part question.

1) Is there a limit on how big a script file can be? ( max commands or lines )

2) Can a script file be run 'live'? Currently the script files runs in a buffer of some sort and dumps everything out at once when complete. The problem is that DraftSight goes not responding in this time. I would like to see the script run 'live' and output to the drawing area at each step.

The Reason

I am writing a VBA project in Excel to generate script files based on  the contents of a spreadsheet. It creates a table17 columns wide and 108 long ( can be longer depending on job ) This is done with simplenotes and rectangles to define cells, not the table command.

I have tried both one large script file and making a separate one for each row that calls the next row's script file. Both take ~14 minutes to complete ( new comp, quad core with 8gigs of ram ) of which the last 13 1/2 minutes is 'not responding'.

 

Any help would be greatly appreciated.

Mike

 

P.S. I have attached a sample script of one row of data ( In txt format as .scr is not allowed to upload )