*metadata_entityid_array()

Creates entity ID array metadata in HMASCII format.

Syntax

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

Type

HyperMesh HMASCII Command

Description

Creates entity ID 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.
name
The name by which the metadata will be referenced.
entity_type2
An integer indicating the type of entity the metadata references.
size
The number of values in the array.
values
The entity ID values assigned to the metadata. Each value is separated by a comma. There must be size total values.

Example

To create entity ID array metadata attached to element ID 100, with name "my-entityIDs" and referencing surfaces 2, 3 and 4:

*metadata_entityid_array(2,100,"my-entityIDs",5,3,2,3,4)

Errors

Incorrect usage results in an import error.