import arcpy, sys, os, string infc = r'C:\temp\basedata\SK_BS.gdb\BS_1250009_0' outshp = r'C:\temp\Basedata_shps\BS_1250009_0.shp' arcpy.Copy_management(infc, outshp)
import arcpy, sys, os, string infc = r'C:\temp\basedata\SK_BS.gdb\BS_1250009_0' outshp = 'BS_1250009_0.shp' outpath = r'C:\temp\Basedata_shps' arcpy.env.workspace = outpath arcpy.Copy_management(infc, outshp)
I confirm CopyFeatures is much better! 😀
Although my task was to copy feature classes between mobile geodatabases (*.geodatabase), setup CopyFeatures was easier than Copy.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.