Runtime error 2147417856 (80010100); Automation error; System call failed

Hi all,

I’ve written a macro which makes a series of cuts to a model and records the volume of the body after each cut.  The macro runs correctly, however after a certain period of time it encounters a runtime error.   The macro was successfully run on an older windows operating system, for several hundred cut features. However, now after just 30-50 features the runtime error occurs.  I’m currently running Solidworks x 64 on Windows 7. 

Has anybody else encountered this problem and know of a way to fix it?

The complete error msg is:

Run-time error - "2417417856 (80010100)

Automation error

System call failed

Regards,

Cam

SolidworksApi macros