<?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: Script Tool not showing Extent of Raster in ArcPro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714298#M55430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;desc = arcpy.Describe(inFC).extent&lt;BR /&gt;print(desc.XMin, desc.XMax)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2020 13:50:16 GMT</pubDate>
    <dc:creator>ChristopherSanchez</dc:creator>
    <dc:date>2020-06-12T13:50:16Z</dc:date>
    <item>
      <title>Script Tool not showing Extent of Raster in ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714296#M55428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make a script tool that shows the extent of a raster. The tool runs in ArcPro without an error, but doesn't produce results of the extent of the raster. Is there any line of code I am missing to show the extent of my input raster?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;ws = r"C:\Users\tophe\Documents\ArcGIS\Projects\Programming\rasters"&lt;BR /&gt;arcpy.env.workspace = ws&lt;BR /&gt;inFC = arcpy.GetParameterAsText(0)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;desc = arcpy.Describe(inFC).extent&lt;BR /&gt;print(desc)&lt;/P&gt;&lt;P&gt;if __name__=="__main__":&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;workspace = r"C:\Users\tophe\Documents\ArcGIS\Projects\Programming\rasters"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 04:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714296#M55428</guid>
      <dc:creator>ChristopherSanchez</dc:creator>
      <dc:date>2020-06-12T04:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Script Tool not showing Extent of Raster in ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714297#M55429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is it saying? something like GeoprocessingObject?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print(desc.XMin, desc.XMax...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 11:01:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714297#M55429</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-06-12T11:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script Tool not showing Extent of Raster in ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714298#M55430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;desc = arcpy.Describe(inFC).extent&lt;BR /&gt;print(desc.XMin, desc.XMax)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 13:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714298#M55430</guid>
      <dc:creator>ChristopherSanchez</dc:creator>
      <dc:date>2020-06-12T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script Tool not showing Extent of Raster in ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714299#M55431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-tool-not-showing-extent-of-raster-in-arcpro/m-p/714299#M55431</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-06-12T14:12:25Z</dc:date>
    </item>
  </channel>
</rss>

