I've created a Spatial ETL tool from ArcGIS 10.1 and would like to run this tool to all 200 featureclasses in a geodatabase. Therefore, I've written a python script to do this automation. (btw, i'm new to arcpy) However, I get an error message stating that my featureclasses do not exist in the geodabase. It does exist though.
"Failed to execute. Parameters are not valid. 'Export1' does not exist. Failed to execute (SpatialETLTool152)"
I couldn't find any solution on the internet.
`import arcpy, os from arcpy import env arcpy.ImportToolbox("M:/GIS-Data/Poin2Line.tbx") env.workspace = r"L:\\ExportLines\\Test.gdb" FakeTide_All1_tif = r"L:\\ExportLines\\FakeTide.tif" Test_gdb = r"L:\\ExportLines\\Test.gdb" Destination_Comma_Separated_Value__CSV__Directory_ = r"L:\\ExportLines\\Output" fClass = arcpy.ListFeatureClasses() for fc in fClass: arcpy.gp.toolbox = "M:/00-GIS-Data-4-All/Poin2Line.tbx"; #arguments (Tiff, output, input) arcpy.gp.SpatialETLTool152("'L:\\ExportLines\\FakeTide.tif'", Destination_Comma_Separated_Value__CSV__Directory_, fc )`