*properties()

Starts a property block.

Syntax

*properties (card_image_name, mat_card_image_name,?idpool_name?)

Type

HyperMesh Template Command

Description

Starts a property block. Properties 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 property. If specified as double quotes "", all properties are considered for the block.
If a *elements() block has specified a prop_card_image_name value matching this string, the property collector to which those elements point is marked.
mat_card_image_name
A 32-character string enclosed in double quotes that defines the name of the material that the properties in the block require. If not needed, use double quotes "".
The name is also used to link to the *materials() command.
idpool_name
An optional 32-character string enclosed in double quotes that defines the name of the ID pool that the properties belongs to. If not needed, use double quotes "" or omit the argument.
The ID pool must be defined using the *defineidpool() command.

Example

To write out all properties with the format:

*property(id,"name",material ID,color)

*properties("","")
*format()
*string("*property(")
*field(integer,id,0)
*string(",")
*field(quotedstring,name,0)
*string(",")
*field(integer,materialid,0)
*string(",")
*field(integer,color,0)
*string(")")
   *end()
*output()