The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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.
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.