Skip to main content
13-Aquamarine
Jun 28, 2021 1:29 PM UTC
Solved

How to get minimum distance between two faces

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 .

17-Peridot
Jun 29, 2021 5:21 AM UTC

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.

2 replies

17-Peridot
Jun 29, 2021 5:21 AM UTC

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.
Translate
13-Aquamarine
Jun 30, 2021 4:28 AM UTC

Thanks you , it working

Translate