How to get the xyz location of a sketch on a face.

I am trying to get the location of a point from a sketch.  the part is a flange and the sketch is not on the face that i want to use as a reference.  i select the face and then run through the part to get the information.  the problem comes when i want to get the location of the point as if it was on the selected face. i have tried to project the sketchpoint onto the face but that is returning a null.  has anyone tried to do this.  one other caveat is that the face is part of an assembly.  i am using the transform of the component to move the point to world space but it is still relative to it's original location and not the face that i am working with.  thanks in advance.

SolidworksApi macros