AnsweredAssumed Answered

Batch Runner Macro Crashing Unexpectedly

Question asked by Taylor Rucker on Sep 5, 2015
Latest reply on Sep 7, 2015 by Taylor Rucker

Hello again everyone,

 

I have the macro I need written, but I need it to run on a lot of drawing files. The macro deletes and inserts new notes, saves the drawing, saves it as a PDF and saves it as a DWG. I used Intercad's Batch Runner to apply the macro to a certain folder.

 

This worked great on two computers, but for some reason on the third computer Solidworks crashes during the batch run. Sometimes at the very beginning, sometimes in the middle, and sometimes at the end.

 

I have tried running it without saving PDF or DWG, still crashes. I have tried closing all open documents at the end of the macro, still crashes. I have turned off the solidworks resource manager, ( usually 3-6 Gb of memory used out of 16Gb) still crashes.

 

I am running the macro via VBA.

 

Does anyone have suggestions on how to avoid crashing?

 

Thanks in advance,

 

Taylor

Outcomes