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.