*materials()

Starts a material block.

Syntax

*materials (card_image_name)

Type

HyperMesh Template Command

Description

Starts a material block. Materials with a card image matching the specified card image name are considered for the block.

This command must be accompanied by an *output() command at the end of the block.

Inputs

card_image_name
A 32-character string enclosed in double quotes that defines the card image name of the materials in the block. If specified as double quotes "", all materials are considered for the block.
If a *components() or *properties() block has specified a mat_card_image_name value matching this string, the material collector to which those components or properties point is marked.

Example

To write out all materials with the format:

*material(id,"name",color)

*materials("","")
*format()
*string("*material(")
*field(integer,id,0)
*string(",")
*field(quotedstring,name,0)
*string(",")
*field(integer,color,0)
*string(")")
   *end()
*output()