*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 LS-DYNA user profile. If used in any other user profile, the command will error out stating “*sortentity is supported for Dyna user profile only”.

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