@allowduplicateids()

Returns 1 if the allow duplicate IDs option is enabled via *allowduplicateids, 0 otherwise.

Syntax

@allowduplicateids ()

Type

HyperMesh Template Function

Description

Returns 1 if the allow duplicate IDs option is enabled via *allowduplicateids, 0 otherwise.

Example

*if([@allowduplicateids() ==0]) //do not allow duplicate IDs
*string("#Data1")
*end()
*endif()

*if([@allowduplicateids() ==1]) //allow duplicate IDs
*string("#Data2")
*end()
*endif()

Version History

11.0.130