Minimum distance between point and body on a part

Experimenter
Experimenter

Hello,

 

I work on a Part and I want to know the procedure to have the minimum distance between a point in sketch and a body in a Part. I have tried to use minimumdistance method but I have an error.

Could someone help me with wich object types are allowed in the minimumdistance method or by post a sample of source code.

 

Thanks for advance.

1 REPLY

Re: Minimum distance between point and body on a part

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

From what I can see in the UI, it is only possible to select surfaces (faces), curves (edges) and points. It does NOT allow you to measure the distance between a body and a point.

You might do that in Assembly, but in Part you can't.