hm_gettiedentities

Finds elements or components tied to nodes, elements, components or contactsurfs.

Syntax

hm_gettiedentities input_entity_type output_entity_type input_mark_id output_mark_id

Type

HyperMesh Tcl Query

Description

Finds elements or components tied to nodes, elements, components or contactsurfs.

Inputs

input_entity_type
The type of the input entities. Valid values are nodes, elements, components or contactsurfs.
output_entity_type
The type of the entity to find/output. Valid values are elements and components.
input_mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
output_mark_id
The ID of the mark containing the output entities. Valid values are 1 and 2.

Examples

To find and show elements tied to the displayed elements:

*createmark elems 1 displayed
hm_gettiedentities elems elems 1 2
*showentitybymark 2

To find and show elements tied to component 1:

*createmark comps 1 1
hm_gettiedentities comps elems 1 2
*showentitybymark 2

To find and show components tied to component 3:

*createmark comps 1 3
hm_gettiedentities comps comps 1 2
*showentitybymark 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