<?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: AttributeError: Object: Tool or environment &amp;lt;FocalStatistics&amp;gt; not found in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269318#M66865</link>
    <description>&lt;P&gt;Thanks Dan.&lt;/P&gt;&lt;P&gt;I was hoping there was an equivalent to arcpy.gp in Arc Pro, but evidently not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 00:55:57 GMT</pubDate>
    <dc:creator>GregAO</dc:creator>
    <dc:date>2023-03-20T00:55:57Z</dc:date>
    <item>
      <title>AttributeError: Object: Tool or environment &lt;FocalStatistics&gt; not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269314#M66863</link>
      <description>&lt;P&gt;Hi, I'm using ArcGIS Pro 2.9 and have a python version 2 script written with ArcMap 10.3.&lt;/P&gt;&lt;P&gt;The script bombs out on the following line:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;arcpy.gp.FocalStatistics(inputFC, outFileName, inExpression, "MEAN", "DATA")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;with the error:&amp;nbsp;Object: Tool or environment &amp;lt;FocalStatistics&amp;gt; not found.&lt;/P&gt;&lt;P&gt;Does "arcpy.gp" NOT exist any more? I realize there is focal statistics in arcpy.sa. Is that the only one I can use, it doesn't allow an output file raster to be specified.&lt;/P&gt;&lt;P&gt;Greg.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 00:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269314#M66863</guid>
      <dc:creator>GregAO</dc:creator>
      <dc:date>2023-03-20T00:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: Object: Tool or environment &lt;FocalStatistics&gt; not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269317#M66864</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/focal-statistics.htm" target="_blank"&gt;Focal Statistics (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you save it after&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# --
from arcpy.sa import *
outFocalStatistics = FocalStatistics(......
outFocalStatistics.save("C:.....

or
outFocalStatistics = arcpy.sa.FocalStatistics(......
outFocalStatistics.save("C:.....&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Mar 2023 00:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269317#M66864</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-20T00:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: Object: Tool or environment &lt;FocalStatistics&gt; not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269318#M66865</link>
      <description>&lt;P&gt;Thanks Dan.&lt;/P&gt;&lt;P&gt;I was hoping there was an equivalent to arcpy.gp in Arc Pro, but evidently not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 00:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269318#M66865</guid>
      <dc:creator>GregAO</dc:creator>
      <dc:date>2023-03-20T00:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: Object: Tool or environment &lt;FocalStatistics&gt; not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269362#M66871</link>
      <description>&lt;P&gt;...or&lt;/P&gt;&lt;P&gt;arcpy.gp.focalstatistics_sa(&lt;SPAN&gt;inputFC, outFileName,...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 10:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269362#M66871</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2023-03-20T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: Object: Tool or environment &lt;FocalStatistics&gt; not found</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269373#M66872</link>
      <description>&lt;P&gt;Ahaaaa, Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 11:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attributeerror-object-tool-or-environment-lt/m-p/1269373#M66872</guid>
      <dc:creator>GregAO</dc:creator>
      <dc:date>2023-03-20T11:15:00Z</dc:date>
    </item>
  </channel>
</rss>

