Hello,
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?
Thanks,
Samuel
SolidworksApi macros