AnsweredAssumed Answered

Somtimes no Mass from ISwDMConfiguration14.GetMassProperties

Question asked by Samuel Petersen on Nov 16, 2017
Latest reply on Jan 17, 2019 by Josh Brady

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

Outcomes