How to get closest component from a node from a list of components

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

I have three components id list and one node which is on any of these. I want to know the distance between the component which is having that node on it and other components.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited December 2010

    Of course it is a matter of definition, what the 'distance' between a node and an arbitrarily shaped and oriented component should be, but if you mean with 'distance' the distance between the node and the closest node in an other component, you should be able to use hm_getclosestnode as a staring point.