hm_gettablecelldata

Returns the value of a cell in a table.

Syntax

hm_gettablecelldata name_or_id row column ?search_type?

Type

HyperMesh Tcl Query

Description

This command returns the value of a cell in a table.

Inputs

name_or_id
The name or ID of the table.
row
The row number of the table (starting at 1).
column
The column number of the table (starting at 1).
search_type
By default, HyperMesh searches for entities by name, and if the name is not found, it then searches by ID. This option allows you to specify how the search for an entity should be conducted. Valid values are:
-byname - Search only by name.
-byid - Search only by ID.

Example

hm_gettablecelldata table1 1 5

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