Plotting slows down after every file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a batch plot routine. Yes I'm aware that there are built in batch plot api:s, but I want to write status information to file after each plot before starting next file so I'm using single file plot api:s.
If I plot many files I notice a gradual but, over time, exponential decrease in performance. At first it will plot multiple files per minute, decreasing to single file per minute until after 50 files plotted it will crawl to a halt and each file takes 15-20 minutes to plot.
I've basically just copied code found in this forum (take any of the multitude of plot examples) and stuck it in a for-loop iterating a list of files and plotting one by one.
Anybody recognizes the issue and know why this happens and what to do to mitigate it?
Should I restart Autocad after 10 files to keep it happy? Feels like a really naive and slow solution... Plotting 50 files using script does not cause this issue...
Thanks!