::hwat::utils::GetEntitiesInBox - Finds all entities in a box.
::hwat::utils::GetEntitiesInBox {boxdimensions} option assemName.
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 = ""). |
Tcl list of all entities of the required type, that the box encloses in the assembly, if successful , {} if unsuccessful.
::hwat::utils::GetEntitiesInBox [list 0.0 0.0 0.0 10.0 20.0 15.0] "elements" "MIDRAIL_L"
If no assembly name is given the entities displayed on the screen will be considered.