0 Replies Latest reply on Jun 27, 2014 1:18 PM by Vincent Lacey

    Costing API not refreshing after updates to CostAnalysis

    Vincent Lacey

      I am trying to run a couple of parts through a costing template at different quantities and lot sizes.  I can get the CostAnalysis interface from the CostPart.CreateCostAnalysis method, but when I change the quantity or lot size it does not update the Cost Analysis.  When printing out the properties to try and troubleshoot, I can see that the Quantity and LotSize have been updated, but the pricing comes back evaluated at the default Quantity and LotSize of 100.  I've also looked through the template schema and do not see a way to adjust the default values for Quantity and LotSize. 

       

      We are running SW 2014 Premium x64 SP3.0 and I developing the macro in C#. 

       

      Thanks!