<?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>idea Zoom to Selected Features Tool for Model Builder in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idi-p/965457</link>
    <description>&lt;P&gt;I would like to be able to create a geoprocessing service that selects a feature(s) and zooms to the selected feature(s).&lt;/P&gt;&lt;!--  content transformation source ID: 087E00000005AZS  --&gt;</description>
    <pubDate>Mon, 29 Apr 2024 20:52:58 GMT</pubDate>
    <dc:creator>MikePing</dc:creator>
    <dc:date>2024-04-29T20:52:58Z</dc:date>
    <item>
      <title>Zoom to Selected Features Tool for Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idi-p/965457</link>
      <description>&lt;P&gt;I would like to be able to create a geoprocessing service that selects a feature(s) and zooms to the selected feature(s).&lt;/P&gt;&lt;!--  content transformation source ID: 087E00000005AZS  --&gt;</description>
      <pubDate>Mon, 29 Apr 2024 20:52:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idi-p/965457</guid>
      <dc:creator>MikePing</dc:creator>
      <dc:date>2024-04-29T20:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Selected Features Tool for Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965458#M8542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This can be achived with a simple model and calling arcpy via the Calculate value tool as shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG alt="0EME0000000TnRY" height="92" width="500" __migration_original_url="https://c.na9.content.force.com/servlet/rtaImage?eid=00aE0000006EfNt&amp;amp;feoid=CommentBody&amp;amp;refid=0EME0000000TnRY" __migration_image_ext="0EME0000000TnRY" class="jive-image" src="https://community.esri.com/legacyfs/online/203490_0EME0000000TnRY" /&gt;&lt;BR /&gt;All the code in the Calculate tool is nothing more than:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;
	import arcpy&lt;/DIV&gt;
&lt;DIV&gt;
	def zoom():&lt;/DIV&gt;
&lt;DIV&gt;
	&amp;nbsp; mxd = arcpy.mapping.MapDocument("CURRENT")&lt;/DIV&gt;
&lt;DIV&gt;
	&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]&lt;/DIV&gt;
&lt;DIV&gt;
	&amp;nbsp; df.zoomToSelectedFeatures()&lt;/DIV&gt;
&lt;DIV&gt;
	&amp;nbsp; return True&lt;BR /&gt;&lt;BR /&gt;	With output set to type. Boolean.&lt;/DIV&gt;
&lt;BR /&gt;

&lt;!-- content transformation source ID: 00aE0000006EfNt --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 09:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965458#M8542</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-04-09T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Selected Features Tool for Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965459#M8543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;That works in ArcMap but it balks when you try to publish it as a geoprocessing service to be used in a web app.

&lt;!-- content transformation source ID: 00aE0000006Efdd --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 12:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965459#M8543</guid>
      <dc:creator>MikePing</dc:creator>
      <dc:date>2014-04-09T12:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom to Selected Features Tool for Model Builder</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965460#M8544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What bout ArcGIS&amp;nbsp;Pro version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 03:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/zoom-to-selected-features-tool-for-model-builder/idc-p/965460#M8544</guid>
      <dc:creator>JurateMeister</dc:creator>
      <dc:date>2018-08-22T03:54:16Z</dc:date>
    </item>
  </channel>
</rss>

