Model.tableaddrow#
- Model.tableaddrow(name, string_array)#
Adds a row of data to the bottom of a table.
- Parameters:
name (hwString) – The name of the table to update.
string_array (hwStringList) – The string array that contains the row data to add. The length of the list should be equal to the number of columns in the table.
Example#
Add a row of data to “ table1 “ which has 7 columns with data types ( integer , string , double , elements , integer , double , properties )#import hm import hm.entities as ent model = hm.Model() model.tableaddrow( name="table1", string_array=["1", "abc", "4.567", "500", "10", "3.14159", "100"] )