6 Replies Latest reply on Nov 20, 2017 1:06 PM by Josh Brady

    Somtimes no Mass from ISwDMConfiguration14.GetMassProperties

    Samuel Petersen



      I use DocumentManager to the mass from all configurations:

      2017 SOLIDWORKS API Help - GetMassProperties Method (ISwDMConfiguration)


      Sometimes I get a swDmMassPropErrorNoData-error for a configuration. When I open the file in SWX, change to this configuration and use swModel.Extension.GetMassProperties, I get the mass.


      Does anyone can guess a reason, why DM is sometimes not working?