hm_getentitiesinboxes

Returns specified entities within boxes.

Syntax

hm_getentitiesinboxes entity_type input_mark_id output_mark_id

Type

HyperMesh Tcl Query Command

Description

Finds the entities queried for in the specified boxes, places them on output_mark_id.

Inputs

entity_type
The type of an entity to be found in the boxes. Valid values are nodes, elems, loads, systems, equations, vectors, points, line, surf, solids and connectors.
input_mark_id
The ID of the mark containing the boxes. Valid values are 1 and 2.
output_mark_id
The ID of the mark where all the entities within the box will be output. Valid values are 1 and 2.

Example

To find nodes within the box with ID 1 and put them on mark 2:

*createmark boxes 1 1
hm_getentitiesinboxes nodes 1 2

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0.130