hm_getattachedsolidelemfaces

Returns information about solid elements attached to shell element faces.

Syntax

hm_getattachedsolidelemfaces entity_type mark_id normal_flag

Type

HyperMesh Tcl Query

Description

Returns information about solid elements attached to shell element faces.

For a given shell element, this command is used to get the connected solid element ID and the corresponding face index of the solid element. The return list contains, for each input shell element with an attached solid element face the input shell element ID, connected solid element ID and the solid element face index. For example:

{1 20 0} {5 17 4} {3 1 2}

Inputs

entity_type
The type of entity to query. Valid entity types are elems and comps.
Only shell elements are considered.
mark_id
The ID of the mark to query. Valid values are 1 and 2.
normal_flag
0 - Get connected solid element face with normal in the same direction as input shell element normals
1 - Get connected solid element face with normal in the opposite direction as input shell element normals

Example

To get the attached solid element faces for all displayed elements, using opposite normals:

*createmark elems 1 displayed
set attachedelem_lst [hm_getattachedsolidelemfaces elems 1 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.110