AnsweredAssumed Answered

Save notification after running a macro

Question asked by Nadjaran Tehupelasury on Apr 14, 2017
Latest reply on Apr 14, 2017 by Deepak Gupta

I've wrote a macro which inserts custom properties into my part/assembly. But when I run the macro and close the part/assembly right afterwards, there is no prompt which says that there might've been some modifications to the part/assembly and if you wish to save your file. Which means that if you close the part/assembly without saving, then the progress is lost. I want to make it kinda foolproof, so the prompt could be very helpful.

 

Is there a way to make Solidworks believe that running a macro counts as a modification to your file?

Outcomes