Clipping by view extent

545
11
06-20-2012 07:32 AM
DevonJenkins
Occasional Contributor
Hi everyone,

I want to clip features based on my window extent. Right now I am creating a clip feature class polygon to match my view. instead of inputting "clip features" to clip, is there a syntax to input for the dataframe?

thanks
Tags (2)
0 Kudos
11 Replies
DevonJenkins
Occasional Contributor
It looks like you are only inputting 4 points to create your polygon, you need 5 points to create a closed rectangle.



Yeah that was just a typo when writing the code here.
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Hi Devon,

What is the input you are using for the Clip GP tool (i.e. shapefile, feature class)?  I noticed there is a space in the name (Trapper Lines).  Try renaming the shapefile/feature class and remove the space.  When naming a shapefile, feature class, or table you should follow the 3 rules below:

1.  Should not contain spaces
2.  Should not begin with a number
3.  Should not contain any special characters
0 Kudos