<?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: Where is the the Model Functions toolbox?  in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471813#M15794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't locate it either and it isn't in this folder path&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes&lt;/P&gt;&lt;P&gt;So where do you save your toolboxes?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just do a windows search it is probably in your user path like here&lt;/P&gt;&lt;P&gt;C:\Users\&lt;STRONG&gt;this_B_you&lt;/STRONG&gt;\AppData\Roaming\ESRI\Desktop10.5\ArcToolbox\My Toolboxes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2017 00:52:22 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-11-17T00:52:22Z</dc:date>
    <item>
      <title>Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471812#M15793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was playing around, testing the iterative and looping features of Model Builder in 10.5,&amp;nbsp; to see if they were now complete enough and easier for me to understand than looping in python.&amp;nbsp; I made a little model that selects a few rasters with a wildcard out of a workspace with Iterate Rasters and then changes the projection, writing the output to a new folder and using the %Name% variable to create similar names on the output files.&amp;nbsp; I got the model to run,&amp;nbsp; then I exported to python to see how the iteration was handled by the export.&amp;nbsp; Well, the python script doesn't contain any of the iteration stuff.&amp;nbsp; I thought it might run one time but it doesn't.&amp;nbsp; Seems like the export to python inserted a couple lines &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;# Load required toolboxes
arcpy.ImportToolbox("Model Functions")&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But at run time,&amp;nbsp; IDLE doesn't know the path to this toolbox.&amp;nbsp; Where do I find it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Traceback (most recent call last):&amp;nbsp; File "G:\elevation\lidar2010\Orthophotos\testiterativemodels\iterateRaster.py", line 14, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.ImportToolbox("Model Functions")&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\__init__.py", line 125, in ImportToolbox&amp;nbsp;&amp;nbsp;&amp;nbsp; return import_toolbox(input_file, module_name)&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\toolbox_code.py", line 452, in import_toolbox&amp;nbsp;&amp;nbsp;&amp;nbsp; toolbox = gp.createObject("Toolbox", tbxfile)&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\geoprocessing\_base.py", line 381, in createObject&amp;nbsp;&amp;nbsp;&amp;nbsp; self._gp.CreateObject(*gp_fixargs(args, True)))IOError: The toolbox file Model Functions was not found.
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471812#M15793</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2021-12-11T20:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471813#M15794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't locate it either and it isn't in this folder path&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes&lt;/P&gt;&lt;P&gt;So where do you save your toolboxes?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just do a windows search it is probably in your user path like here&lt;/P&gt;&lt;P&gt;C:\Users\&lt;STRONG&gt;this_B_you&lt;/STRONG&gt;\AppData\Roaming\ESRI\Desktop10.5\ArcToolbox\My Toolboxes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 00:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471813#M15794</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-17T00:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471814#M15795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I searched the whole C drive for Model Functions.tbx, but didn't find it.&amp;nbsp; Wouldn't that be the search term?&amp;nbsp; Is the space in the file name a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think it is one of my toolboxes.&amp;nbsp; I didn't see Model Functions toolbox used in my little model, so I think it is strange that the export from model to Python comes up with this required load.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 18:36:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471814#M15795</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2017-11-17T18:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471815#M15796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The toolbox could be inside a file geodatabase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 18:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471815#M15796</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2017-11-17T18:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471816#M15797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh,&amp;nbsp; I was being mislead by the error message.&amp;nbsp; The problem is the export to Python of this model that uses Iterate Rasters gives me a script that tries to call arcpy.IterateRasters when the tool help clearly says "This tool is intended for use in ModelBuilder and not in Python scripting." And also seems to want to require a toolbox that doesn't exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I was interested in testing was how Export to Python in Model Builder handles the iterative tools, and I guess the answer is "not well at all".&amp;nbsp; I would have to rewrite this script to create a list of files and loop through the list using python tools.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# -*- coding: utf-8 -*-&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# iterateRaster.py&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Created on: 2017-11-16 16:02:06.00000&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Description: &lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Testing advanced Model Builder Techniques&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# ---------------------------------------------------------------------------&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Import arcpy module&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="comment token"&gt;# Load required toolboxes&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ImportToolbox&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Model Functions"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="comment token"&gt;# Local variables:&lt;/SPAN&gt;
v_Input_photos_workspace_ &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"%Input photos workspace%"&lt;/SPAN&gt;
K_1473E616N_tif &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"G:\\elevation\\lidar2010\\Orthophotos\\K_1473E621N.tif"&lt;/SPAN&gt;
v_Name__Project_tif &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"G:\\elevation\\lidar2010\\Orthophotos\\testiterativemodels\\Output\\%Name%_Project.tif"&lt;/SPAN&gt;
Input_photos_workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"G:\\elevation\\lidar2010\\Orthophotos"&lt;/SPAN&gt;
Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"K_1473E621N.tif"&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Process: Iterate Rasters&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IterateRasters_mb&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;v_Input_photos_workspace_&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"K_1473*"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"TIF"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NOT_RECURSIVE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Process: Project Raster&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ProjectRaster_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;K_1473E616N_tif&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; v_Name__Project_tif&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],VERTCS['WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PARAMETER['Vertical_Shift',0.0],PARAMETER['Direction',1.0],UNIT['Meter',1.0]]"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"BILINEAR"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"1.67194671764969E-06 1.67194671764969E-06"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"WGS_1984_(ITRF00)_To_NAD_1983"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"PROJCS['NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',1640416.666666667],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-120.5],PARAMETER['Standard_Parallel_1',45.83333333333334],PARAMETER['Standard_Parallel_2',47.33333333333334],PARAMETER['Latitude_Of_Origin',45.33333333333334],UNIT['Foot_US',0.3048006096012192]]"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471816#M15797</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2021-12-11T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471817#M15798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, yeah.&amp;nbsp; So how would I search for toolboxes inside a file geodatabase?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 19:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471817#M15798</guid>
      <dc:creator>PaulHuffman</dc:creator>
      <dc:date>2017-11-17T19:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the the Model Functions toolbox?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471818#M15799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pro link... but checking the aprx in the mapping module has a 'default toolbox' check, if it is there,,&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm"&gt;http://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject-class.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 20:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/where-is-the-the-model-functions-toolbox/m-p/471818#M15799</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-17T20:16:38Z</dc:date>
    </item>
  </channel>
</rss>

