8 Replies Latest reply on Jul 21, 2016 11:24 AM by Michael Kozikowski

    How do I extract the code from this corrupted SWP file?

    Tim Lewis

      I have been working on writing a set of macros for the past few months, and just yesterday afternoon the file wouldn't open when I tried to open it.  I have a backup of a portion of the code in the file, but unfortunately not all of it was backed up.  Here's the error message I get when I try to open the file:

       

      Capture.JPG

       

      I found this thread that said SolidWorks' API support may be able to extract the code from the file, but I haven't gotten any response yet.

       

      Also, I've seen some people say that this may be related to a conflict with a MS Windows update, but according to this support document, I should be fine because I've gotten an update for SolidWorks since the MS update was supposed to have released.

       

      To say the least, I'm at somewhat of a loss at this point to know what to do, so if anyone can either extract the code from the file or explain what I need to do to extract it, I would greatly appreciate it.