HMMOD_nodefindifexists()

Retrieves the pointer to a node if it exists.

Syntax

void * HMMOD_nodefindifexists(HM_entityidtype id);

Type

HyperMesh hmmodlib Function

Description

Retrieves the pointer to a node if it exists.

Inputs

id
The ID of the node to be located.

Example

A pointer to the node identified by ID.

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

Errors

None.