*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:
byid - Ordering is performed by ID.
byinputsystem - Ordering is performed based on input system ID.
byoutputsystem - Ordering is performed based on output system ID.
bysurfaceid - Ordering is performed based on surface ID.
none - No ordering is performed.

Example

To output nodes in order based on their ID:

*nodes()
  *before()
    *sortnodes(byid)
  *format()
    *string("id = ")
    *field(integer,id,0)
    *end()
*output()