2 Replies Latest reply on Jan 25, 2017 2:20 AM by Ivana Kolin

    Macro file not saving changes

    Thomas Rumble

      I've created a macro that is placed on a server and made buttons that reference it on mine and my colleagues workstations, who are now beginning to use it. I now need to go back and make some changes to it, but when I edit, save, close, and reopen it, my changes are gone. Like they never happened. Is this because other systems are now referencing the file?

        • Re: Macro file not saving changes
          Josh Brady

          SolidWorks does a crap job of telling you when you actually have write access to a .swp file.  You hit save, but, as you experience, nada.  Zip. Zilchro. No savey, no messagey.


          As soon as someone uses your macro in their session of SolidWorks, it will be locked for editing.  Good luck figuring out who has write access or how to get it back.


          Your best bet is to edit a copy on your local machine and then ask everybody to please, please, please close SolidWorks and log out before they leave for the day.  Then stay late until everyone is gone and hope you can replace the file.


          Once you have done this, you might have luck marking the file as "read only" in Windows Explorer.  Then you may or may not have an easier time replacing the network copy with your local copy before everyone goes home.


          Your other option is to write it correctly the first time.  I have never been successful with that one either though. 


          Good luck!