hm_getelementvolumes
Returns lists of shell element volumes and baffle elements in each volume.
Syntax
hm_getelementvolumes entity_type mark_id
Type
HyperMesh Tcl Query
Description
Returns lists of shell element volumes and baffle elements in each volume.
The output is in the following format:
{{volume1_elem_ids}{baffle1_elem_ids}} {{volume2_elem_ids}{baffle2_elem_ids}}...
{{volumeN_elem_ids}{baffleN_elem_ids}}
Where volume_elem_ids are the IDs of elements that constitute a single volume, and baffle_elem_ids are the IDs of baffle elements corresponding to a particular volume.
Inputs
- entity_type
- Currently supported for elems.
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
Example
To get the list of volumes and baffles for displayed elements:
*createmark elems 1 "displayed"
hm_getelementvolumes elems 1
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
13.0