cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to get minimum distance between two faces

KB_9753804
12-Amethyst

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 .

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2

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.

Thanks you , it working

Top Tags