<?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: Cannot run ArcHydro Tools in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580085#M4566</link>
    <description>&lt;P&gt;i guess you were faster, never mind my answer :-).&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 18:24:14 GMT</pubDate>
    <dc:creator>DeanDjokic</dc:creator>
    <dc:date>2025-01-29T18:24:14Z</dc:date>
    <item>
      <title>Cannot run ArcHydro Tools</title>
      <link>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1579733#M4563</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I cannot run ArcHydro tools at all, and it looks like a problem with Python.&amp;nbsp; I have tried multiple versions of ArcGIS Pro (3.0 and 3.1) and ArcHydro tools on multiple platforms, and all of them have had the same problem.&lt;BR /&gt;&lt;BR /&gt;Currently:&amp;nbsp; ArcGIS Pro 3.2.4&lt;BR /&gt;ArcHydro Tools 3.2.52&lt;BR /&gt;python version 3.9.18&lt;BR /&gt;Windows Desktop Runtime 8.0.6&lt;BR /&gt;ArcGIS Advanced User License&lt;BR /&gt;3D Analyst license.&lt;BR /&gt;Spatial Analyst license&lt;BR /&gt;Cloned package manager environment&lt;BR /&gt;&lt;BR /&gt;Installation instructions followed here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.esri.com/content/dam/esrisites/en-us/media/manuals/downloading-arc-hydro.pdf" target="_blank" rel="noopener"&gt;https://www.esri.com/content/dam/esrisites/en-us/media/manuals/downloading-arc-hydro.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Example from the last time I attempted to run it:&lt;BR /&gt;&lt;BR /&gt;Calling c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\archydro\buildterraindatasetfromlas.BuildTerrainDatasetfromLAS.executeAH(arg1, arg2)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Setting naming conventions and checking inputs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;------- Input folder&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = C:\Users\shann\Documents\Converted LAS\LAS Files.&lt;/P&gt;&lt;P&gt;------- Output GDB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = LptProc.gdb.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Completed, 1. Setting naming conventions and checking inputs, ddt=0.113s&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Creating output geodatabase and feature dataset.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;------- File gdb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = LptProc.gdb.&lt;/P&gt;&lt;P&gt;------- Feature dataset&amp;nbsp;&amp;nbsp;&amp;nbsp; = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Completed, 2. Creating output geodatabase and feature dataset, ddt=1.597s&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Importing las points and optional breaklines and polygons.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;------- LAS point FC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_mpt.&lt;/P&gt;&lt;P&gt;------- 3D breaklines were not provided and are not enforced into the terrain dataset..&lt;/P&gt;&lt;P&gt;------- 3D replace polys were not provided and are not enforced into the terrain dataset..&lt;/P&gt;&lt;P&gt;&amp;nbsp; Completed, 3. Importing las points and optional breaklines and polygons, ddt=56.637s&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Creating and building terrain dataset.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;------- Terrain dataset&amp;nbsp;&amp;nbsp;&amp;nbsp; = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_trn.&lt;/P&gt;&lt;P&gt;------- Adding 3D points to the terrain dataset ....&lt;/P&gt;&lt;P&gt;('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')&lt;/P&gt;&lt;P&gt;('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')&lt;/P&gt;&lt;P&gt;Finished at 2025-01-28 12:19:48&lt;BR /&gt;&lt;BR /&gt;Version of python on ArcGIS Pro 3.2.4 is python version 3.9.18&lt;BR /&gt;&lt;BR /&gt;Line 335 reads:&lt;BR /&gt;&lt;BR /&gt;“arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # add mass points to the terrain dataset”&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 20:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1579733#M4563</guid>
      <dc:creator>Shannon_McKinnion</dc:creator>
      <dc:date>2025-01-28T20:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run ArcHydro Tools</title>
      <link>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580080#M4564</link>
      <description>&lt;P&gt;Found the problem.&amp;nbsp; The python scripts in ArcTools Pro do not like any paths where the name has spaces.&amp;nbsp; &amp;nbsp;So you have to make sure none of the directories you're using have spaces in the name.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 18:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580080#M4564</guid>
      <dc:creator>Shannon_McKinnion</dc:creator>
      <dc:date>2025-01-29T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run ArcHydro Tools</title>
      <link>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580084#M4565</link>
      <description>&lt;P&gt;Shannon,&lt;/P&gt;&lt;P&gt;This does not seem to be a problem with python or Arc Hydro (AH) tools in general, otherwise the tool would have failed right away not after few steps (successfully creating a gdb and feature dataset).&amp;nbsp; Where the tool failed is in the import of your point data into the feature dataset.&amp;nbsp; This can be caused by few items:&lt;/P&gt;&lt;P&gt;1. Do you have 3D Analyst license available?&amp;nbsp; It seems you have access to it, just make sure they are all not checked out if they are of shared type.&lt;/P&gt;&lt;P&gt;2. Problem with the data structure (folder and file naming convention - check the best practice document - for example, you have spaces in folder names - not what we recommend and sometimes can cause problems).&lt;/P&gt;&lt;P&gt;3. Problem with LAS files.&lt;/P&gt;&lt;P&gt;Please try to do the following using standard Pro tools:&lt;/P&gt;&lt;P&gt;1. Create a gdb.&lt;/P&gt;&lt;P&gt;2. Create a feature dataset (FD) with correct spatial reference (matching the SR of LAS data).&lt;/P&gt;&lt;P&gt;3. Add one (or several) LAS files from your existing folder structure into the FD created in #2 using standard 3D Analyst "LAS To Multipoint" function.&amp;nbsp; Basically create points from LAS.&amp;nbsp; (You can start with one file and then keep adding the rest if the first one works).&lt;/P&gt;&lt;P&gt;If that works, we can eliminate most of the potential "general" problems and then focus on terrain dataset construction process as next potential issue.&amp;nbsp; Please zip two of your LAS files and share with me - use &lt;A href="mailto:ddjokic@esri.com" target="_blank"&gt;ddjokic@esri.com&lt;/A&gt;&amp;nbsp;to share the data.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;Dean&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 18:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580084#M4565</guid>
      <dc:creator>DeanDjokic</dc:creator>
      <dc:date>2025-01-29T18:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run ArcHydro Tools</title>
      <link>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580085#M4566</link>
      <description>&lt;P&gt;i guess you were faster, never mind my answer :-).&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 18:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/cannot-run-archydro-tools/m-p/1580085#M4566</guid>
      <dc:creator>DeanDjokic</dc:creator>
      <dc:date>2025-01-29T18:24:14Z</dc:date>
    </item>
  </channel>
</rss>

