From a Component object you can get the bodies it contains through the BRepBodies collection. Each BRepBody object supports the area and volume properties. The area property returns the surface area of the entire body in square centimeters and the volume property returns the volume of the body, if it's a solid body, in cubic centimeters.