A question for a greenhand , so I want to get your help , thank you

Excuse me , can the vector of a random point on the surface of parts be obtained be the secondary development of solidworks ? Thank you .

SolidworksApi macros