<?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: Arcpy to entire dataframe in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469291#M36628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌, i.e., you can't remove all of the data frames from an MXD.&amp;nbsp; Even through the GUI, you can remove data frames until you get down to the last one, at which point you are not allowed to remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the border of the frame to not be visible, you can go in and change it, just not through ArcPy unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 15:02:52 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2015-01-28T15:02:52Z</dc:date>
    <item>
      <title>Arcpy to entire dataframe</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469289#M36626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to arcpy. I found a way to remove all of the layers in a dataframe using arcpy, but i still see the dataframe border on the maps. Is there a way to remove an entire dataframe or remove the dataframe border using arcpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for lyr in arcpy.mapping.ListLayers(mxd, "", df):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.RemoveLayer(df,lyr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 00:24:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469289#M36626</guid>
      <dc:creator>ShaneArmour</dc:creator>
      <dc:date>2015-01-28T00:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy to entire dataframe</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469290#M36627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dataframe does not expose any symbology, so I don't think you can change it: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/DataFrame/00s300000003000000/" title="http://resources.arcgis.com/en/help/main/10.2/index.html#/DataFrame/00s300000003000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to move the dataframe outside of the page using elementPositionX, elementPositionY and elementHeight and elementWidth of the dataframe, but I still don't understand why you would like to create a blank page...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 03:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469290#M36627</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-01-28T03:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy to entire dataframe</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469291#M36628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌, i.e., you can't remove all of the data frames from an MXD.&amp;nbsp; Even through the GUI, you can remove data frames until you get down to the last one, at which point you are not allowed to remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the border of the frame to not be visible, you can go in and change it, just not through ArcPy unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 15:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-to-entire-dataframe/m-p/469291#M36628</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-01-28T15:02:52Z</dc:date>
    </item>
  </channel>
</rss>

