SelectByRay - get Intersection-Point

Hi,

I am using the SelectByRay function to select an Object and would like to get the Intersection-Point of the Object and the ray.

Does anybody know how I can do that?

SolidworksApi macros