HMIN_element_writesecondary_face()

Creates a secondary element from an existing element in HyperMesh.

Syntax

void HMIN_element_writesecondary_face(HM_entityidtype id, char elementtype, HM_entityidtype elementid, int face, HM_entityidtype collectorid);

Type

HyperMesh hminlib Function

Description

Creates a secondary element from an existing element in HyperMesh.

Inputs

id
The ID of the new element.
elementtype
The type of the new element, a user-defined value.
elementid
The ID of the existing element.
face
The face number. For solids, the face number can be 1 - 6. For 2-D elements, use:
  • 1 - If the normals of the secondary element should be created in the same direction as those in the existing element.
  • 2 - If the normals of the secondary element should be created in the opposite direction of those in the existing element
collectorid
The ID of the group collector where the element should be placed.

Errors

None.