::hwat::utils::GetClosestNode - Finds the closest node in the assembly.
::hwat::utils::GetClosestNode x y z [d_tolerance] [assemname] [n_exemptNodes]
x |
X-coordinate of the location. |
y |
Y-coordinate of the location. |
z |
Z-coordinate of the location. |
d_tolerance |
The tolerance to use in case of searching by window (default = 10.0). |
assemname |
The name of the component entity set (default = ""). |
n_exemptNodes |
A Tcl list of nodes to exempt from the search(default = ""). |
The ID of the node if successful , {} if unsuccessful.
::hwat::utils::GetClosestNode –3434.33 8734.89 8436.55 10.0 "CRADLE"
If no assembly is specified, the procedure will search the displayed nodes. The tolerance is no longer needed, but has been retained to prevent current code from breaking.