HMIN_element_writegroup_shellid()

Creates a main or secondary element from an existing element in HyperMesh.

Syntax

void HMIN_element_writegroup_shellid(HM_entityidtype id, char elementtype, HM_entityidtype elementid, int secondary, int normal, HM_entityidtype groupid);

Type

HyperMesh hminlib Function

Description

Inputs

id
The ID of the main/secondary interface element to be created.
elementtype
The type of the new interface element, a user-defined value.
elementid
The ID of the base element on which the interface element is to be created.
secondary
Set to 0 for main and 1 for secondary.
normal
Set to 1 if the normals of the main element should be created in the same direction as those in the existing element.
Set to 2 if the normals of the main element should be created in the opposite direction as those in the existing element
groupid
The group ID of the interface element.

Errors

None.