*metadata_string()

Creates string metadata in HMASCII format.

Syntax

*metadata_string (entity_type,entity_id,"name","value")

Type

HyperMesh HMASCII

Description

Creates string metadata in HMASCII format.

Inputs

entity_type
An integer indicating the type of entity the metadata is attached to. A value of undef indicates attachment to the database itself.
entity_id
The ID of the entity the metadata is attached to. Ignored if entity_type is undef.
name
The name by which the metadata will be referenced.
value
The string value assigned to the metadata.

Example

To create string metadata attached to element ID 100, with name "my-string" and the value abc:

*metadata_string(2,100,"my-string","abc")

Errors

Incorrect usage results in an import error.