*collections()

Starts a collections block.

Syntax

*collections (config)

Type

HyperMesh Template Command

Description

Starts a collections block.

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

Inputs

config
An integer that defines the config of entities in the block. If not specified, all entities are considered for the block.

Example

To write out all collections with the format:

*collections(id,"name")

*collections()
  *format()
    *string("*collections(")
    *field(integer,id,0)
    *string(",")
    *field(quotedstring,name,0)
    *string(")")
    *end()
*output()

Errors

Incorrect usage results in an import error.