We are aware of an issue causing intermittent login problems for some users following a recent update. Learn More
It is not fixed that it will lie on face, edge or surface but it is sure that it is on the part somewhere.
ProGeometryAtPointFind - you have already mentioned it in another topic.
If it is not laying on any surface or edge, you can parse the model and use ProSurfaceParamEval or ProEdgeParamEval - it will tell you the closest point on the given surface or edge, so you can calculate its distance.