How can I get the distance between a point in 3D Sketch and a datum plane ?

Hi All Master Shi Fu,

I make a 3D sketch which contains a few of sketch points referring to the model vertax, and I want to get every distance between the point and the selectted plane, how to use VBA to make it ?

Pls help to advise.

Thanks  a lot

regards

Vincent

SolidworksApi macros