::hwat::utils::GetClosestElement - Find the closest element in the assembly.
::hwat::utils::GetClosestElement x y z assemname
x |
X-coordinate of the location. |
y |
Y-coordinate of the location. |
z |
Z-coordinate of the location. |
assemname |
The name of the component entity set (default = ""). |
The ID of the element if successful , {} if unsuccessful.
::hwat::utils::GetClosestElement –3434.33 8734.89 8436.55 "CRADLE"
If no assembly is specified, the procedure searches in the displayed elements.