*metadatamarkdoublearray
Creates double array metadata on the specified mark of entities.
Syntax
*metadatamarkdoublearray entity_type mark_id name double_array number_of_doubles
Type
HyperMesh Tcl Modify
Description
Creates double array 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.
- double_array
- The ID of the double array that contains the values. The array is created using the *createdoublearray command. This should always be set to 1.
- number_of_doubles
- Integer indicating the size (number of doubles) in the array created using *createdoublearray.
Example
To add metadata named Real_Vals with the values 17.54 and 31.88 to elements 1-100:
*createmark elems 1 1-100
*createdoublearray 2 17.54 31.88
*metadatamarkdoublearray elems 1 "Real_Vals" 1 2
Errors
if { [ catch {command_name...} ] } {
# Handle error
}