*metadatamarkentityidtype

Creates entity ID type metadata on the specified mark of entities.

Syntax

*metadatamarkentityidtype entity_type mark_id name entity_type_2 value

Type

HyperMesh Tcl Modify Command

Description

Creates entity ID type metadata on the specified mark of entities.

Inputs

entity_type
The type of entities contained on the mark.
The undef entity type is used to store metadata on the model itself.
mark_id
The ID of the mark containing the entities to which the metadata will be added. Valid values are 1 and 2.
name
The name by which the metadata will be referenced.
entity_type_2
The type of entity which the metadata references.
value
The entity ID value assigned to the metadata.

Example

To add metadata named Surface with surface 100 to elements 1-100:

*createmark elems 1 1-100
*metadatamarkentityidtype elems 1 "Surface" surfs 100

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}