*metadata_string_array()

Creates string array metadata in HMASCII format.

Syntax

*metadata_string_array (entity_type,entity_id,"name",size,"value1","value2",...,"valueN")

Type

HyperMesh HMASCII

Description

Creates string array 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.
size
The number of values in the array.
values
The string values assigned to the metadata. Each value is separated by a comma. There must be size total values.

Example

To create string array metadata attached to element ID 100, with name "my-strings" and the values a, b and c:

*metadata_string_array(2,100,"my-strings","3","a","b","c")

Errors

Incorrect usage results in an import error.