AnsweredAssumed Answered

python code for "fill tool" ??

Question asked by alscatS on Mar 25, 2015
Latest reply on Mar 25, 2015 by lpinner

ArcGIS Help 10.1

An overview of the Hydrology toolset

select Fill

I am new to python.

the python code example for the Fill command starts with "create flow direction"  - also when I export my python code from my model that has the flow tool - I do not get the same 'syntax' ( i believe is the word I am looking for) my python code from export looks completely different then the example provided.

 

my python export from model

 

# Process: Fill

arcpy.gp.Fill_sa(Dem_Patch, temp2, "")

 

I am getting an error when trying to create my python code and run it.

ERROR

File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\_base.py", line 498, in <lambda>

    return lambda *args: val(*gp_fixargs(args, True))

Outcomes