::hwat::core::GetClosestNodeByDistance - Finds the closest node in the assembly. This procedure finds the node with the shortest distance from the required location.
::hwat::core::GetClosestNodeByDistance x y z n_nodeList n_exemptNodes
x |
X-coordinate of the location. |
y |
Y-coordinate of the location. |
z |
Z-coordinate of the location. |
n_nodeList |
A Tcl list of nodes to search from. |
n_exemptNodes |
A Tcl list of nodes to exempt from the search(default = ""). |
The ID of the element if successful, {} otherwise.
::hwat::core::GetClosestNodeByDistance –3434.33 8734.89 8436.55 [list 1 2 …1001 1002] [list 120 121]