HyperWorks Tools

::hwat::core::GetClosestNodeByWindow

::hwat::core::GetClosestNodeByWindow

Previous topic Next topic No expanding text in this topic  

::hwat::core::GetClosestNodeByWindow

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

NAME

::hwat::core::GetClosestNodeByWindow - Finds the closest node in the assembly.  This procedure creates a window around the required location to limit the search to the nodes inside the window and then finds the closest.

 

SYNTAX

GetClosestNodeByWindow x y z d_tolerance n_exemptNodes

 

ARGUMENTS

x

X-coordinate of the location.

y

Y-coordinate of the location.

z

Z-coordinate of the location.

d_tolerance

The tolerance to use to create the window.  The window is a square of side twice the tolerance, with the passed coordinates as center (default = 10.0).

n_exemptNodes

A Tcl list of nodes to exempt from the search(default = "").

 

RETURNS

The ID of the node if successful, {} otherwise.

 

EXAMPLE

::hwat::core::GetClosestNodeByWindow –3434.33 8734.89 8436.55 10.0 [list 120 121]

 

 

See also

Core Functions