Export Hole Table Directly From Part (sldprt)

Can anybody help?

Is it possible to export "hole" coordinates (X & Y) & hole type directly from a SolidWorks part (sldprt)???

The origin will always be 0,0

X axis will always be horizontal

Y axis will always be vertical

I need to export, as a test, the information in a text file.

Many thanks in advance!!!!

Darren

SolidworksApi/macros