11 Replies Latest reply on Jun 3, 2016 10:31 AM by Tim Glavin

    Custom Property doesn't update with rebuild and inserted part

    Joshua Hutton

      Hello, I am having a heck of a problem on what should be very simple. I have a macro that changes several items, including custom properties, but I noticed that if I had a part with another part inserted into it and the macro rebuilt the model, then the custom properties would not update.  I have isolated the problem down to a very simple part ("Properties Do Not Change.sldprt") with a very simple part inserted into it ("Inserted Part.sldprt") and the macro ("Test.swp") .  So to duplicate the problem, open up Properties Do Not Change.sldprt, then edit the Test.swp macro and run main.  The macro should change the value of the "Description" custom property from the current value to "Test" and it will, only with the two rebuild lines commented out.  Otherwise the value will not update.

       

      I am running Solidworks 2014 SP5.0.  Any help you guys can think of would help immensly.  Thanks!