AnsweredAssumed Answered

After opening many files, solidworks stops opening files but continues the macro.

Question asked by Robert Voogt on Aug 3, 2018
Latest reply on Aug 10, 2018 by Mike Spens

Hi all,


I have a folder with let's say 1000 drawings. My macro processes around 300 drawings correctly before it thinks it is opening a drawing and thus running the macro on an empty solidworks screen. It thinks it is processing the next 700 files and then ends (no errors)


I see that it is accessing the files (loading bar in the left bottom corner) from our pdm vault. And my log shows that it indeed continues to "open" the next drawing till EOF. So my macro goes through all 1000 drawings in the end, but actually opens only the first 300. 


My resources are still within bounds (enough hdd and RAM (64gb) free during the proces) and my CPU shows normal use.


When I set my macro to start where the macro truely ended processing the drawings, it continues again and processes the next 300 files.