<?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 How to programatically change view extent based on user input from script tool) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-programatically-change-view-extent-based-on/m-p/574401#M45013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't for the life of me find a fix to this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to change the extent of my view extent to a given parcel of land (which is a user input in a script tool).&amp;nbsp; My current methodology is to create a feature layer, then select it, then zoomToSelectedFeatures().&amp;nbsp; The problem is, the feature layer isn't automatically added to the Map when that line of code is executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried many fixes, and been back and forth with an ESRI Rep (who apparently grew tired of my problem and has since stopped responding to my inqueries).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more background, including photos and suggested solutions, you can check this out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/23348/add-feature-layer-to-display-with-in-a-script-tool-for-desktop-mapping-app"&gt;http://gis.stackexchange.com/questions/23348/add-feature-layer-to-display-with-in-a-script-tool-for-desktop-mapping-app&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to find an answer to this for a while, but I suspect it's the fault of the Script tool Properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2012 17:07:00 GMT</pubDate>
    <dc:creator>RoyHewitt</dc:creator>
    <dc:date>2012-04-20T17:07:00Z</dc:date>
    <item>
      <title>How to programatically change view extent based on user input from script tool)</title>
      <link>https://community.esri.com/t5/python-questions/how-to-programatically-change-view-extent-based-on/m-p/574401#M45013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't for the life of me find a fix to this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to change the extent of my view extent to a given parcel of land (which is a user input in a script tool).&amp;nbsp; My current methodology is to create a feature layer, then select it, then zoomToSelectedFeatures().&amp;nbsp; The problem is, the feature layer isn't automatically added to the Map when that line of code is executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried many fixes, and been back and forth with an ESRI Rep (who apparently grew tired of my problem and has since stopped responding to my inqueries).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more background, including photos and suggested solutions, you can check this out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/23348/add-feature-layer-to-display-with-in-a-script-tool-for-desktop-mapping-app"&gt;http://gis.stackexchange.com/questions/23348/add-feature-layer-to-display-with-in-a-script-tool-for-desktop-mapping-app&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been trying to find an answer to this for a while, but I suspect it's the fault of the Script tool Properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 17:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-programatically-change-view-extent-based-on/m-p/574401#M45013</guid>
      <dc:creator>RoyHewitt</dc:creator>
      <dc:date>2012-04-20T17:07:00Z</dc:date>
    </item>
  </channel>
</rss>

