I have a dataset with 1 row that I would like to add to another dataset for exporting.
I know I can easily loop though the columns, append them to a list and add that as the new row but is there built in way to just get the entire row?
For example; if I remember correctly, in .NET I could use something like DataSet.Tables.Rows to get the entire row. I haven’t found anything similar in the Ignition documentation.
Something like this:
# This code is not valid datset1 = system.dataset.addRow(dataset1, dataset1.rowCount, dataset2.rows)
would be much nicer than this:
newRow =  for col in range(dataset2.columnCount): newRow.append(dataset2.getValueAt(0, col)) datset1 = system.dataset.addRow(dataset1, dataset1.rowCount, newRow)