So I have feature classes from an ArcGIS database that I renamed using this Python code:
But now I have to merge all the feature classes that are output from this into one feature class named OSRS_ORN_NER. I'm not really sure how I should assign the inputs and outputs when I'm using the arcpy.Merge_management() tool. This is all I have right now:
Best Answer
Merge tool expect you a list of feature classes as the input. so you shouldn't put it in a loop.
First build a list of feature classes in loop: