hm_ce_getfe

Returns specific weld ID(s) from a realized connector.

Syntax

hm_ce_getfe ce_id ent_type config type

Type

HyperMesh Tcl Query Command

Description

Returns specific weld ID(s) from a realized connector.

Inputs

ce_id
The ID of the connector entity.
ent_type
The type of entity (ELEMS, EQUATIONS, etc).
config
The weld configuration (spring - 21, weld - 3).
type
The type of weld from template (CBSUH - 6).

Example

To get element config spring of type CBUSH from a connector of ID 1:

*createmark connectors 1 "displayed"
set config 21;
set type 6;
set ce_list [ hm_getmark connectors 1 ];
foreach ce_id $ce_list {
  if { $ce_id == 1 } {
     set cbush_id [ hm_ce_getfe $ce_id ELEMENTS $config $type ];
     break;
 }
}

The function will return either a list of values or a single value.

Errors

None.