*endif()
Used to define the end of an *if() block.
Syntax
*endif ()
Type
HyperMesh Template Command
Description
Used to define the end of an *if() block.
This command must be accompanied by a *if() command at the beginning of the block.
Example
To output a portion of a CQUAD4 element with conditions depending on the property assignment:
*elements(104,1,"CQUAD4","")
*format()
*string("CQUAD4 ")
*field(integer,id,8)
*if([propertyid == 0])
*field(integer,collector.propertyid,8)
*else()
*field(integer,propertyid,8)
*endif()
*field(integer,node1.id,8)
*field(integer,node2.id,8)
*field(integer,node3.id,8)
*field(integer,node4.id,8)
*end()
*output()