*sortentity()

Changes the order that entities are output in the corresponding *entity() block.

Syntax

*sortentity (entity_type, order)

Type

HyperMesh Template Command

Description

Changes the order that entities are output in the corresponding *entity() block.

Currently only supported for the

Inputs

entity_type
The type of entity to sort.
order
Valid values are:
byid - Ordering is performed based on ID
none - No ordering is performed

Example

To output parameters based on their ID:

*sortentity(parameters,byid)
*parameters()
  *format()
    *string("*parameter(")
    *field(integer,id,0)
    *string(",")
    *field(quotedstring,name,0)
    *string(")")
    *end()
*output()

Version History

2020