Can anyone give me a clue? I've looked in the API help section, but I haven't answered this question.
What is the difference between vMassProp(5) and massProp.Mass?
From what i can see the IMassProperty interface allows you to add bodies to the calculation much like how the interface works in solidworks for getting mass properties.
On the other hand the VMassProp(5) "Mass" is of all bodies in the part regardless if they are visible or hidden, im not sure if it will calculate suppressed bodies(features that created them are suppressed). so it appears that one is customizable and the other is not. By Customizable i mean you can specify which bodies to measure.
In your case you need to be using the iMassProperty interface to add the bodies that are unsuppressed in the configuration of the Component that you are using. otherwise if it has any more bodies that are suppressed, it will also include their masses in the calculation.
So you want to go through each body and checked if it is required for you to measure. so check if it is hidden or if the feature that created the body is suppressed. i would just check if it is visible using body2.Visible. I Cant remember if that will error on you or exactly how to check if it should be added.
So create a part with a lot of features and configs with suppressed features that will verify this and run both IMassProperty.Mass and Modeldoc2.Extension.GetMassProperties
Hope this helps. you may find that there isnt a difference.
Thank you, Jacob. I'm about to head out of the office, but I will give that a try in the morning. Appreciate you take the time to help.