HMMOD_elementfind()

Retrieves the pointer to an element.

Syntax

void * HMMOD_elementfind(HM_entityidtype id);

Type

HyperMesh hmmodlib Function

Description

Retrieves the pointer to an element.

Inputs

id
The ID of the element to be located.

Example

A pointer to the element identified by ID.

This function does not issue error messages when an element is not found and in this case returns NULL. You must check for a NULL pointer before using the return value.

Errors

None.