3 Replies Latest reply on Oct 23, 2013 12:28 PM by Deepak Gupta

    Force custom property to evaluate

    Terry Raymond

      I need to add a property "ModelWeight" to all configurations of a part, and have it evaluate for all configurations.


      My macro sets the "Value / Text Expression" column correctly.  [ "SW-Mass@@<configname>" ]

      The "Evaluated Value" column displays as "*0", with a footnote at the bottom "* Calculated the next time the configuration is active".

      When I activate the configuration with the macro [ g_swDoc.ShowConfiguration2 (sConfigName) ], it activates the configuration, but the weight is not evaluated.

      I'm only able to make it evaluate when I manually activate each configuration.


      Is there a trick to get the property to evaluate?


      SW2010 SP5 VBA


      Thanks much for help