<?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: arcpy doesn't see a tool that I have loaded in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293225#M22699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try removing the underscores from the toolbox alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2019 17:22:04 GMT</pubDate>
    <dc:creator>RachelSears</dc:creator>
    <dc:date>2019-07-11T17:22:04Z</dc:date>
    <item>
      <title>arcpy doesn't see a tool that I have loaded</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293224#M22698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made a custom tool that I want to use in another custom tool. I have loaded the toolbox that it is in using arcpy.ImportToolbox.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/452571_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;The error occurs at "arcpy.AddPivotField_tsa_tools"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tool really does exist. I listed the tools from this toolbox within the script and it correctly listed this tool, including the alias "_tsa_tools" It seems to have access to this tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most obvious explanation is that I am entering it wrong, but I'm not. I've tried many many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a feeling this is a facepalm. I'm overlooking something obvious. Is there something that needs to be done to "tell" arcpy that this tool exists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any assistance you may be able to provide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 16:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293224#M22698</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-11T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy doesn't see a tool that I have loaded</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293225#M22699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try removing the underscores from the toolbox alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293225#M22699</guid>
      <dc:creator>RachelSears</dc:creator>
      <dc:date>2019-07-11T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy doesn't see a tool that I have loaded</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293226#M22700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I will try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293226#M22700</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-11T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy doesn't see a tool that I have loaded</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293227#M22701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Randy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A custom tool typically has a name and a label --&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The &lt;STRONG&gt;Name&lt;/STRONG&gt; property is the language-independent name of the toolbox and is used as a language-independent reference to a tool within a toolbox in scripting.&lt;BR /&gt;The &lt;STRONG&gt;Label&lt;/STRONG&gt; property is language dependent, so if you give your toolbox to someone who uses a different language (or just doesn't like the label), he or she can change just the label without breaking any script references to the toolbox.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you check the properties of your custom tool to confirm if "AddPivotField_tsa_tools" is the name or the label? We would need to call the tool by its name in ArcPy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how it goes &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Desktop --&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/managing-tools-and-toolboxes/renaming-a-toolbox.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/managing-tools-and-toolboxes/renaming-a-toolbox.htm"&gt;Renaming a toolbox: name, label, and alias—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;ArcGIS Pro --&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-properties.htm" title="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-properties.htm"&gt;Model properties—ArcGIS Pro | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 18:48:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293227#M22701</guid>
      <dc:creator>xlt208</dc:creator>
      <dc:date>2019-07-11T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy doesn't see a tool that I have loaded</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293228#M22702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the model name, not the label. The problem, may be the underbars in the alias. I'll try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 16:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-doesn-t-see-a-tool-that-i-have-loaded/m-p/293228#M22702</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-12T16:31:03Z</dc:date>
    </item>
  </channel>
</rss>

