*tableupdatecell
Updates the value of a cell in a table.
Syntax
*tableupdatecell name row_index column_index value
Type
HyperMesh Tcl Modify Command
Description
Updates the value of a cell in a table.
Inputs
- name
- The name of the table to update.
- row_index
- The index of the row to edit. Tables are indexed starting from 1 (1 to n rows).
- column_index
- The index of the column to edit. Tables are indexed starting from 1 (1 to n columns).
- value
- The value to update.
Example
To update cell (3.4) of table1:
*tableupdatecell table1 3 4 100.2345
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0