*sortloads()
Changes the order that loads are output in the *loads() block.
Syntax
*sortloads (order)
Type
HyperMesh Template Command
Inputs
- order
- Valid values are:
Example
The following example outputs all forces in the same x direction, followed by the same y direction and then the same z direction:
*loads(1,0,"")
  *sortloads(bycomp1)
  *before()
    *variableset(variable1,-999999)
  *format()
    *if([comp1 != variable1])
      *end() *end()
      *string("FORCE x = ") *field(real,comp1,0) *end()
      *variableset(variable1,comp1)
    *endif()
    *string(" ") *field(integer,id,0) *string(" ")
  *after()
    *end()
*output()
*loads(1,0,"")
  *sortloads(bycomp2)
  *before()
    *variableset(variable1,-999999)
  *format()
    *if([comp2 != variable1])
      *end() *end()
      *string("FORCE y = ") *field(real,comp2,0) *end()
      *variableset(variable1,comp2)
    *endif()
    *string(" ") *field(integer,id,0) *string(" ")
  *after()
    *end()
*output()
*loads(1,0,"")
  *sortloads(bycomp3)
  *before()
    *variableset(variable1,-999999)
  *format()
    *if([comp3 != variable1])
      *end() *end()
      *string("FORCE z = ") *field(real,comp3,0) *end()
      *variableset(variable1,comp3)
    *endif()
    *string(" ") *field(integer,id,0) *string(" ")
  *after()
    *end() *end()
*output()