Model.tableupdatecell#

Model.tableupdatecell(name, row_index, column_index, value)#

Updates the value of a cell in a table.

Parameters:
  • name (hwString) – The name of the table to update.

  • row_index (int) – The index of the row to edit. Tables are indexed starting from 1 (1 to n rows).

  • column_index (int) – The index of the column to edit. Tables are indexed starting from 1 (1 to n columns).

  • value (hwString) – The value to update.

Example#

Update cell ( 3,4 ) of “ table1 “#
import hm
import hm.entities as ent

model = hm.Model()

model.tableupdatecell(name="table1", row_index=3, column_index=4, value="100.2345")