<?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 [SOLVED] Zoom to Layer (Not Zoom to Selected Feature) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134130#M10493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to zoom to layer instead of zoom to selected feature. The zoom to selected feature works for me but it's so much slower than just setting a definition query and then zooming to layer (same as right click on layer, zoom to layer). Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 21:08:43 GMT</pubDate>
    <dc:creator>JoelMadero</dc:creator>
    <dc:date>2012-05-14T21:08:43Z</dc:date>
    <item>
      <title>[SOLVED] Zoom to Layer (Not Zoom to Selected Feature)</title>
      <link>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134130#M10493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to zoom to layer instead of zoom to selected feature. The zoom to selected feature works for me but it's so much slower than just setting a definition query and then zooming to layer (same as right click on layer, zoom to layer). Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 21:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134130#M10493</guid>
      <dc:creator>JoelMadero</dc:creator>
      <dc:date>2012-05-14T21:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Layer (Not Zoom to Selected Feature)</title>
      <link>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134131#M10494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dataframe.extent = lyr.getExtent(True)&lt;/PRE&gt;&lt;SPAN&gt; i don't know how much faster it really is though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 21:25:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134131#M10494</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-05-14T21:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Layer (Not Zoom to Selected Feature)</title>
      <link>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134132#M10495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I use &lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dataframe.extent = lyr.getExtent(True)&lt;/PRE&gt; i don't know how much faster it really is though.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That did it, so much faster actually. It took out two searches from my code which makes the script run at least 50% faster. Thanks !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 21:32:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/solved-zoom-to-layer-not-zoom-to-selected-feature/m-p/134132#M10495</guid>
      <dc:creator>JoelMadero</dc:creator>
      <dc:date>2012-05-14T21:32:03Z</dc:date>
    </item>
  </channel>
</rss>

