*outputblocks()

Starts an outputblocks block.

Syntax

*outputblocks ()

Type

HyperMesh Template Command

Example

*outputblocks contain a list of element or node IDs. An example is shown below:

*outputblocks()
 *format()
  *if([type == 1])
   *counterset(counter1,1)
   *loopif([counter1 <= idsmax])
    *pointerset(pointer1,ids,[counter1-1])
    *string("NOD: ")
    *field(integer,pointer1.pointervalue,8)
    *counterinc(counter1)
   *endloop()
  *endif()
  *if([type == 2])
   *counterset(counter1,1)
   *loopif([counter1 <= idsmax])
    *pointerset(pointer1,ids,[counter1-1])
    *string("ELE: ")
    *field(integer,pointer1.pointervalue,8)
    *counterinc(counter1)
   *endloop()
   *endif()
*output()