Skip to main content
13-Aquamarine
June 28, 2021
Solved

How to get minimum distance between two faces

  • June 28, 2021
  • 1 reply
  • 1516 views

Hello, 

I want to add  maximum dimension to view for that I calculated the box size , try to find the maximum distance between two faces, for that I used ProselectionDistanceEval()  function but it doesn't work , it give distance zero  for all iterations , please help me to resolve the issue .

Best answer by YaroslavSin

From the documentation

The function ProSelectionDistanceEval() cannot be used to
evaluate distance between datum planes and axes. This function will be
deprecated in a future release. Use the function
ProSelectionWithOptionsDistanceEval() instead.

1 reply

17-Peridot
June 29, 2021

From the documentation

The function ProSelectionDistanceEval() cannot be used to
evaluate distance between datum planes and axes. This function will be
deprecated in a future release. Use the function
ProSelectionWithOptionsDistanceEval() instead.
13-Aquamarine
June 30, 2021

Thanks you , it working