HMMOD_elementsetactive()

Sets the status of an element to active or inactive.

Syntax

void HMMOD_elementsetactive(void * elementptr, int active);

Type

HyperMesh hmmodlib Function

Description

Sets the status of an element to active or inactive.

Inputs

elementptr
The pointer to the element.
active
The status of the element. Settings are:
  • 0 - Inactive.
  • 1 - Active.

Example

This function allows you to determine which elements in the model are used for averaging; all elements with an active status are used. The default setting for elements is active.

Errors

None.