Select to view content in your preferred language


02-25-2013 06:57 AM
Occasional Contributor
How do you figure the extents of a frame? I am trying to create a "Fishnet" and I need to know the extents (Top, Bottom, Right, and Left). Do I activate the frame into workspace and pick a points or is there a better way. I apologize for such a crazy question, but I am self-taught and there are things I just don't know and can't seem to find any information on.
0 Kudos
2 Replies
MVP Esteemed Contributor
Not a crazy question!

You can get these extent numbers a couple of ways:

  1. From the ArcMap menu:

  2. Geoprocessing > Environments > Extent and choosing Same as Display -- you'll see the numbers populate and you can then copy and paste them into the Create Fishnet tool.

  3. The following Python code, pasted into the Python command window, will also get these numbers for you.

  4. import arcpy.mapping
    mxd = arcpy.mapping.MapDocument("CURRENT")
    print mxd.activeDataFrame.extent

If you need to automate this process, you can, using ModelBuider.
0 Kudos
Occasional Contributor
Thanks you, I got the extent numbers I needed. I guess I should try to explain what I am trying to do. I have created a grid with a data frame. The grid is for a specific area and the blocks are a certain size, 20 across and 14 down. I have tried using Datadriven pages to create my grid, that didn't work. Now I am trying to use Fishnet to create my grid. I can get my grid the right size, but it won't come in at the same location as the "frame" grid. I am at a loss of what to do, I have tried different things. I have used the "Identify" tool at the bottom left hand corner of the frame to get my X and Y origin cooridinates.
0 Kudos