hm_getsolidshelloverlapinfo

Returns information regarding proximity overlap between one/more solid cavity element(s) and structural components.

Syntax

hm_getsolidshelloverlapinfo source_entity_type source_mark_id target_entity_type target_mark_id maxproximitydistance

Type

HyperMesh Tcl Query Command

Description

Returns information regarding proximity overlap between one or more solid cavity elements and structural components (2D mesh). For each cavity (source components), the command returns the cavity surface area, the cavity volume, and the proximity overlap area per structural component (target components) in the following format:
{<solid1_compid> <solid1_surfacearea> < solid1_volume> {{<overlapshell1_compid> <proximity_area_with solid1>} {<overlapshell2_compid> <proximity_area_with solid1>}}}

Inputs

source_entity_type
The type of source entity. Currently supported for components. Only 3D elements are considered.
source_mark_id
The ID of the mark containing the source entities. Valid values are 1 and 2.
target_entity_type
The type of target entity. Currently supported for components. Only 2D elements are considered.
target_mark_id
The ID of the mark containing the target entities. Valid values are 1 and 2.
maxproximitydistance
Maximum proximity distance below which the overlap is calculated.

Examples

To get overlap information between component 20 and components 2, 10, and 13 for a proximity distance of 5.0:
*createmark comps 1 20
*createmark comps 2 2 10 13
hm_getsolidshelloverlapinfo comps 1 comps 2 5.0

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

2021.2