Get node IDs from a list of coordinates

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

Hello,

 

I have a variable containing nodes coordinates, example:    $Stock contains {{3.73 4.17 0}} {{3.92 3.16 0}} {{4.89 3.26 0}} so the coordinates of 3 nodes.

 

I am searching for a command that could get me the IDs of these nodes with using the $Stock variable that I have.

 

In other terms, from the coordinates, get back the nodes IDs foreach node.

 

Thanks in advance for any ideas you guys may have,

 

Nicolas

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited September 2017

    hm_getclosestnode can get node id from coords

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.