This is my piece of actual code - https://pastebin.com/pfqDgVtX
As soon as I tried adding the following after Line 292 (after `.setModel`) for row in range(self.tree_view.rowCount()): data.append([]) for column in range(self.tree_view.columnCount()): index = self.tree_view.index(row, column) data[row].append(str(self.tree_view.data(index).toString())) I got this error: # TypeError: rowCount() takes exactly 2 arguments (1 given) # -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2c10335c-874c-494d-820f-7142980d725a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.