I used this syntax to do copy feature task:
lineFeature=arcpy.management.CopyFeatures(lyr, "SplitFeature")
I do not know what data type is the lineFeature after the copy feature tool finishes running.
I can use list fields function on it and i can get count of the feature from it.
lineCount = arcpy.GetCount_management(lineFeature)
fields=arcpy.ListFields(lineFeature)
for field in fields:
print("{0} is a type of {1} with a length of {2}".format(field.name, field.type, field.length))
Now I want to get values from the fields. How should I do it? Do i need to use a search cursor? Then what do I use to search?
Thanks