*metadatamarkstring

Creates string metadata on the specified mark of entities.

Syntax

*metadatamarkstring entity_type mark_id name value

Type

HyperMesh Tcl Modify

Description

Creates string 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.
value
The string value assigned to the metadata.

Example

To add metadata named String_Val with the value "Warped elements" to elements 1-100:

*createmark elems 1 1-100
*metadatamarkstring elems 1 "String_Val" "Warped elements"

Errors

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