Download

Reading a DataTable's Values with Python

Hello and thanks, I’m trying to read the values of my datatables using Python and can’t figure out the last step to actually read the value from a row struct:

DataTable = ItemTable
DataTableRowStuct = FItemTable
RowName = “test”
RowValue = “Name”

DT = unreal.DataTable(name=“ItemTable”)
row = unreal.DataTableRowHandle(data_table=DT,row_name=“test”)

This is as far as I can get. Could anyone please help me figure out how to get the value of “Name” from the row? I’ve tried a number of things like: row.get_editor_property(“Name”) but have had no success I’m assuming that some kind of cast is needed?