<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create a polygon from data frame in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452955#M25847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I was eventually able to figure out where I was going wrong.&amp;nbsp; I ensured the tool was installing to:&lt;/P&gt;&lt;P&gt;C:\Users\&amp;lt;username&amp;gt;\Documents\ArcGIS\AddIns\Desktop10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out the tool was installing correctly, however I was looking for a new toolbar, and not an actual tool/command. Unfortunately there were no instructions telling me what to look for, however I found it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210471" alt="Tool.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/210471_Tool.jpg" style="width: 620px; height: 567px;" /&gt;&lt;/P&gt;&lt;P&gt;Only problem now is the tool crashes ArcMap whenever I click the button!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Jul 2016 00:32:14 GMT</pubDate>
    <dc:creator>JustinOdell</dc:creator>
    <dc:date>2016-07-03T00:32:14Z</dc:date>
    <item>
      <title>Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452953#M25845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am hoping there is a simple way to create a polygon (feature class or shapefile) from the extent of the data frame in layout mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it is possible to view the bounding coordinates for the data frame and plot a polygon that way, however this is quite a laborious task which can be automated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discovered this tool &lt;A href="http://www.arcgis.com/home/item.html?id=0dcb445291bf461bb573b1504c170e0c" title="http://www.arcgis.com/home/item.html?id=0dcb445291bf461bb573b1504c170e0c"&gt;http://www.arcgis.com/home/item.html?id=0dcb445291bf461bb573b1504c170e0c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;however when I install the Add-in I'm unable to see any new extensions or toolbars added. I am using version 10.2.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2016 09:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452953#M25845</guid>
      <dc:creator>JustinOdell</dc:creator>
      <dc:date>2016-07-02T09:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452954#M25846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not at a place to test this, but here are a few things to check or try when installing this or any addin.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure it is in the correct software ArcMap v's ArcCatalog.&amp;nbsp; Typically they are built for one or the other, not both. I'm assuming that one is for Map and since it says 10.0 and above, it &lt;EM&gt;should&lt;/EM&gt;&lt;EM&gt; work&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Check the addin manager under...I think....tools extensions.&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;Make sure the toolbar is turned on.&lt;/LI&gt;&lt;LI&gt;i found another way to add addins is to use the "customize"&amp;nbsp; (for adding toolbars etc.) selecting "add from file" at the bottom, and to point to the .addin file.&amp;nbsp; TIP: for those writing their own and updating-&amp;gt;creating-&amp;gt;testing, using this method prevent having to close/re-open the software for a refresh.&lt;/LI&gt;&lt;LI&gt;.addin files are just .zip files with a different extension.&amp;nbsp; Change .addin to .zip, unzip the file, and you should be able to access the toolbox and run it manually.&amp;nbsp; This is assuming there isn't some type of encryption, but typically the addin is just an easy way to package tools and toolbars wi all the dependencies.&amp;nbsp; So give that a try.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2016 12:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452954#M25846</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-07-02T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452955#M25847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I was eventually able to figure out where I was going wrong.&amp;nbsp; I ensured the tool was installing to:&lt;/P&gt;&lt;P&gt;C:\Users\&amp;lt;username&amp;gt;\Documents\ArcGIS\AddIns\Desktop10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out the tool was installing correctly, however I was looking for a new toolbar, and not an actual tool/command. Unfortunately there were no instructions telling me what to look for, however I found it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="210471" alt="Tool.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/210471_Tool.jpg" style="width: 620px; height: 567px;" /&gt;&lt;/P&gt;&lt;P&gt;Only problem now is the tool crashes ArcMap whenever I click the button!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jul 2016 00:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452955#M25847</guid>
      <dc:creator>JustinOdell</dc:creator>
      <dc:date>2016-07-03T00:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452956#M25848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to say what is causing the crash, but it's always good to try &lt;A href="https://community.esri.com/docs/DOC-2121"&gt;Resetting your ArcGIS application profile&lt;/A&gt;​&amp;nbsp; or log in as a different user to see if there is something that is flaky with your account.&amp;nbsp; That will at least eliminate those possible issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 18:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452956#M25848</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-07-18T18:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452957#M25849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Create Data Frame Polygon Tool.(Add-In).. Maybe turn off the Geo Referencing Tools if you have it open? Tool many tools maybe the problem and that tool causes some problems with memory cache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 20:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452957#M25849</guid>
      <dc:creator>JohnSchweisinger</dc:creator>
      <dc:date>2016-07-18T20:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452958#M25850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one works for me &lt;A href="http://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886" title="http://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886"&gt;http://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There's a version for 10.2 but I don't have a link for it.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 21:46:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452958#M25850</guid>
      <dc:creator>MikeCusi</dc:creator>
      <dc:date>2016-07-18T21:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452959#M25851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is about the bare minimum required to make it happen via Python:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; mxd = arcpy.mapping.MapDocument("CURRENT") # map
... df = arcpy.mapping.ListDataFrames(mxd)[0] # get 1st data frame
... sr = df.spatialReference # get spatial reference
... ext = df.extent # extent object
... BL = arcpy.Point(ext.XMin,ext.YMin) # bottom left
... BR = arcpy.Point(ext.XMax,ext.YMin) # bottom right
... TR = arcpy.Point(ext.XMax,ext.YMax) # top right
... TL = arcpy.Point(ext.XMin,ext.YMax) # top left
... df_poly = arcpy.Polygon(arcpy.Array([[BL,BR,TR,TL,BL]]),sr) # create polygon
... arcpy.CopyFeatures_management(df_poly,r'in_memory\poly') # write to disk&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/452959#M25851</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T20:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a polygon from data frame</title>
      <link>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/1117657#M43650</link>
      <description>&lt;P&gt;Hi, you can see this tool: &lt;A href="https://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=a9b032f739254ebeb6221c9294ebc886&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 13:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-a-polygon-from-data-frame/m-p/1117657#M43650</guid>
      <dc:creator>HemersonMoraPamplona</dc:creator>
      <dc:date>2021-11-17T13:52:12Z</dc:date>
    </item>
  </channel>
</rss>

