AnsweredAssumed Answered

Mass Property Values

Question asked by Hepzibah Chandranand on Jul 31, 2019
Latest reply on Aug 1, 2019 by Hepzibah Chandranand

Hi,

 

Component2 swComp = (Component2)swSelMgr.GetSelectedObjectsComponent4(1, -1);
var componentModelDoc = swComp.GetModelDoc2() as ModelDoc2;

var swMassProps = componentModelDoc.Extension.CreateMassProperty();

 

swMassProps.Mass gives the overridden value.

 

How do I get the calculated value of a part component even though the mass value has been overridden by the user.

 

Outcomes