Solid Bodies and Custom Properties

Hi All,

Been searchign for a few minutes and cannot find anything....I have a part file that has 2 Solid Bodies in it, created from different features with Merge unticked.  I am trying to display the volume of each body independently so I can display in my datacards.  Does anyone know the code for this or have a clever way to achieve this? Thanks in advance.

SolidworksParts And Features