Hi,
I created a script tool in ArcGIS using Python. While the script tool is mostly functional, it does not complete the final step. This step is as follows in the Python code (Note: the syntax highlighter doesn't seem to work correctly but I think the syntax is right):
try:
# Add Parameters
outrast = arcpy.GetParameterAsText(7) # Output raster dataset clipped to stream buffer polygons
# Run the clip tool on hillshade using the output buffer fc
arcpy.Clip_management(outpath, "#", outrast, buffout, "ClippingGeometry", 'NO_MAINTAIN_EXTENT')
# Add a success message
arcpy.AddMessage("Clipping of hillshade to buffer output successful!")
except:
# Report any error messages that the Buffer tool might have generated