Get center of component (or component face) in drawing

Hi all.

In the document drawing I got a list of components:

int compCount = swView.GetVisibleComponentCount();

object[] vComps = swView1.GetVisibleComponents();

Component2 myCurrentComponent2 = (Component2)vComps[i];

Is it possible to get the centers of these components with the conversion to the drawing?

(CenterOfMass get wrong points)

SolidworksApi macros