extracting hole axis

Hello,

I want to build an api which founds a hole feature in parts

and extracts its hole axis.

I attach a file of what I've already done.

Regards, ohad.

SolidworksApi macros