How i can get the Distance Between Two Points in the Sketch

Hi ,

Thus My Requirement is  i need the Distance Value Between two points ,Thus User will Select the the POINT 1 & POINT 2,

Program Should Get the Distance value Between the two points and that value run over in a formulae .

Kindly Guide How i can get solution for This

For Your Better Understanding i attach Image

Thanks & Regards

Suresh

SolidworksApi macros