Clean Arc Hydro temp files/folders on the fly within a Model

07-15-2019 02:50 PM
Labels (1)
Occasional Contributor


I am running Arc Hydro commands within a Model and would like to include deletion of the temp files within the model to better manage disk space usage.

I know there is the 'manual' option in the ApUtilities menu but would be great if I could incorporate this process into a Model.

Does anyone know if/how this is possible?

Many thanks!


0 Kudos
1 Reply
New Contributor III

I would create a python script of script tool that removes the temp files (OpenStack Docs: Create, use, and remove temporary files securely).  Also, If you’re using Pro, it may be possible to engineer something similar to the ArcHyro toolbar in ArcMap using the Pro SDK.

0 Kudos