Hello!
I cannot run ArcHydro tools at all, and it looks like a problem with Python. 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.
Currently: ArcGIS Pro 3.2.4
ArcHydro Tools 3.2.52
python version 3.9.18
Windows Desktop Runtime 8.0.6
ArcGIS Advanced User License
3D Analyst license.
Spatial Analyst license
Cloned package manager environment
Installation instructions followed here:
https://www.esri.com/content/dam/esrisites/en-us/media/manuals/downloading-arc-hydro.pdf
Example from the last time I attempted to run it:
Calling c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\archydro\buildterraindatasetfromlas.BuildTerrainDatasetfromLAS.executeAH(arg1, arg2)
- Setting naming conventions and checking inputs.
------- Input folder = C:\Users\shann\Documents\Converted LAS\LAS Files.
------- Output GDB = LptProc.gdb.
Completed, 1. Setting naming conventions and checking inputs, ddt=0.113s
- Creating output geodatabase and feature dataset.
------- File gdb = LptProc.gdb.
------- Feature dataset = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data.
Completed, 2. Creating output geodatabase and feature dataset, ddt=1.597s
- Importing las points and optional breaklines and polygons.
------- LAS point FC = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_mpt.
------- 3D breaklines were not provided and are not enforced into the terrain dataset..
------- 3D replace polys were not provided and are not enforced into the terrain dataset..
Completed, 3. Importing las points and optional breaklines and polygons, ddt=56.637s
- Creating and building terrain dataset.
------- Terrain dataset = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_trn.
------- Adding 3D points to the terrain dataset ....
('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')
('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')
Finished at 2025-01-28 12:19:48
Version of python on ArcGIS Pro 3.2.4 is python version 3.9.18
Line 335 reads:
“arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # add mass points to the terrain dataset”