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