HyperWorks Tools

::hwat::utils::GetEntitiesInBox

::hwat::utils::GetEntitiesInBox

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetEntitiesInBox

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

NAME

::hwat::utils::GetEntitiesInBox - Finds all entities in a box.

 

SYNTAX

::hwat::utils::GetEntitiesInBox {boxdimensions} option assemName.

 

ARGUMENTS

boxdimensions

Tcl list containing the box dimensions in the following order : MinX, MinY, MinZ, MaxX, MaxY, MaxZ .

[option]

Optional.  The type of the entity (default = elements).

[assemName]

Optional.  Name of the assembly (default = "").

 

RETURNS

Tcl list of all entities of the required type, that the box encloses in the assembly, if successful , {} if unsuccessful.

 

EXAMPLE

::hwat::utils::GetEntitiesInBox [list 0.0 0.0 0.0 10.0 20.0 15.0] "elements" "MIDRAIL_L"

 

Comments

If no assembly name is given the entities displayed on the screen will be considered.

 

See also

Utils Functions