HyperWorks Tools

::hwat::utils::GetClosestElement

::hwat::utils::GetClosestElement

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetClosestElement

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::GetClosestElement - Find the closest element in the assembly.

 

SYNTAX

::hwat::utils::GetClosestElement x y z assemname

 

ARGUMENTS

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 = "").

 

RETURNS

The ID of the element if successful , {} if unsuccessful.

 

EXAMPLE

::hwat::utils::GetClosestElement –3434.33 8734.89 8436.55 "CRADLE"

 

Comments

If no assembly is specified, the procedure searches in the displayed elements.

 

 

See also

Utils Functions