Measuring the Distance between two surfaces using ProGeomitemDistanceEval?
Hi,
I am trying to measure the distance between two surfaces using ProGeomitemDistanceEval method which gives output distance as 0 always.
lErr = ProSelect("surface,point,axis", 1, NULL, NULL, NULL, NULL, &lpSelectionEdge, &lSelCount);
lErr = ProSelect("surface,point,axis", 1, NULL, NULL, NULL, NULL, &lpSelectionSurface, &lSelCount);
lErrCode=ProGeomitemDistanceEval(*lpSelectionEdge, *lpSelectionSurface, &distance);
Can you help what's the wrong in this code?
Thanks in advance.
