I have multiple rasters and feature classes that I want to clip to a study area.

I am pretty new to ModelBuilder.

I know you can right click the clip tool to batch clip outside of ModelBuilder but how do I bring that into ModelBuilder at ArcGIS 10.1 for Desktop?

2 Answers 2


ModelBuilder functions differently than batch processing in ArcGIS. Typically, you use iterators to loop through individual files rather than a spreadsheet-type list of files and actions, as in batch mode. The following is an example of the type of model you would need to loop through a workspace containing rasters in order to clip them to study area bound. For clipping FC's simply replace "iterate rasters" with "iterate features" and change the clip raster tool to clip (analysis).

Additional Resources:

enter image description here


I eventually created a tool at work to do this and thought I would share it if anyone is interested. It is pretty simple as I am not a programmer. The script will make a list of all rasters in the input workspace and clip them to an input feature class. Each output raster will be named the same as the original raster plus "_Clip".

import arcpy
#Set variables
wspace = arcpy.GetParameterAsText (0)
clip_feature = arcpy.GetParameterAsText (1)

#Set user input workspace (Geodatabase containing rasters)
#and output cell size
arcpy.env.workspace = wspace
arcpy.env.cellSize = 30

#List rasters in the workspace and clip them to the user input feature class boundary
rlist = arcpy.ListRasters ()
print rlist

#The output name will be the input raster name followed with "_Clip"
name = "Clip"
for rast in rlist:
    arcpy.Clip_management (rast, "#", rast + "_" + str (name), clip_feature, "", "ClippingGeometry")

This could be brought into model builder if required as another solution to my own question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.