6 Replies Latest reply on Aug 10, 2016 5:18 PM by Jonathan Sterling

    Equation Macro Crashes SW 2015 and 2016

    Jonathan Sterling

      Hi all,

       

      I have what I thought was a simple macro to clean an assembly and its part files properties. It has a second function to mass update the properties. The update portion works great, while the clean part of the code has a serious issue.

       

      At first I assumed maybe it might have been SW 2015 but when I was able to test run SW 2016 and tried this macro it still caused SW to crash or would corrupt the files so they could not save.

       

      The issue is with the equation portion of the code in the clean function towards the end of the code.

       

      Any insight into fixing the issue would be greatly appreciated.

       

      Jonathan

       

      Edited: 8/10/2016 @ 3:15PM - Added file for testing.

       

      Message was edited by: Jonathan Sterling