*sortnodes()
Sets the order that nodes are output in a *nodes() block.
Syntax
*sortnodes (order)
Type
HyperMesh Template Command
Description
Sets the order that nodes are output in a *nodes() block.
This command must be inside a standalone *nodes() block (that is a block not inside another block like *components()) and should be called in the *before() section.
Inputs
- order
- Valid values are:
Example
To output nodes in order based on their ID:
*nodes()
*before()
*sortnodes(byid)
*format()
*string("id = ")
*field(integer,id,0)
*end()
*output()