*metadatamarkint
Creates integer metadata on the specified mark of entities.
Syntax
*metadatamarkint entity_type mark_id name value
Type
HyperMesh Tcl Modify Command
Description
Creates integer metadata on the specified mark of entities.
Inputs
- entity_type
- The type of entities contained on the mark.
- 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 integer value assigned to the metadata.
Example
To add metadata named Int_Val with the value 5 to elements
1-100:
*createmark elems 1 1-100
*metadatamarkint elems 1 "Int_Val" 5
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}