pubschema = parameters["SDEpub"] #input from parameters file sdenv = parameters["env"] #input from parameters file pubDEVbugeo = "SDE"+sdenv+"_"+str(date.today()) + "_BU_" +pubschema+ "gdb" #construct name f2 = open(feat_class_pub) #open text file while 1: sLine = f2.readline() #read text file if not sLine: break arcpy.CopyFeatures_management(pubschema+sLine, outputdir+"/"+env+"/"+sLine) #copy to new
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.