I want to set the field values of my rows from the csv file but my 'row' object only has im_class, im_func and im_self properties. How do i set my field values and insert my row without crashing arcmap?
Your "row" objects should inherit all of the field names from the dataset that the cursor is traversing (as described here). So, you would set the values as:
Thanks, I cracked it in the end. I set my feature's geometry to a point i created from coords in the csv file. I had to recreate my featureclass with upper case field aliases to stop the insert crashing arcmap.
Sorry for the duplicate thread. I can't see anywhere to mark this thread as resolved like the old style forums...