*tableaddrow
Adds a row of data to the bottom of a table.
Syntax
*tableaddrow name string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Adds a row of data to the bottom of a table.
Inputs
- name
- The name of the table to update.
- string_array
- The ID of the string array that contains the row data to add. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray. This must equal the number of columns in the table.
Example
To add a row of data to "table1" which has 7 columns with data types (integer, string, double, elements, integer, double, properties):
*createstringarray 7 1 abc 4.567 500 10 3.14159 100
*tableaddrow "table1" 1 7
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0