@entityinpart()

Returns 1 if the entity type is found in the part or else 0.

Syntax

@entityinpart (entity_type)

Type

HyperMesh Template Function

Description

Returns 1 if the entity type is found in the part or else 0.

Inputs

entity_type
The type of the entity.

Example

*variableset(variable1,[@entityinpart(ELEM)])
*if([variable1 == 1])
*string(“_HMPart”)
*endif()

Version History

2026