I'm interested in learning how to use Arc Python for Arc Hydro. Can anyone suggest a stream in GeoNet that might be good for that?
Basically you need to add "import ArcHydroTools" a the beginning of your script.
Then you can access the tools using ArcHydroTools.DrainageLineProcessing()
You can test it in the Python window in ArcMap.
>>> import ArcHydroTools
>>> ArcHydroTools.DrainageLineProcessing(
Christine Dartiguenave
Esri Water Resources Team
Thanks! I looks like that was a while ago. I'll look into it.
Just did a web search using Archydro and Python and there are a number of threads, including one with you in it, It appears that things are largely a shell around the spatial analyst tools. In any event, you might want to do a search there, if there is nothing in the Archydro place ...
Using ArcHydro 2.0 in a python script
Not sure. I believe the tools can be called from Arc Python, but I'd like to see some Arc Hydro specific code so I can make an easier transition from Model Builder to Arc Python.
Does ArcHydro have their own Python routines?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.