Model.tableupdatelabels#
- Model.tableupdatelabels(name, string_array)#
Updates the column labels of a table.
- Parameters:
name (hwString) – The name of the table to update.
string_array (hwStringList) – The string array that contains the column labels to update. The length of the list should be equal to the number of columns in the table.
Example#
Update the labels for “ table1 “ with 3 columns#import hm import hm.entities as ent model = hm.Model() model.tableupdatelabels(name="table1", string_array=["Name", "ID", "Thickness"])