I'm using Arc Hydro Tool for watershed processing and management. I'm in a stage where I need to calculate the distance of all cells in a raster (the study area) to some polygons along the flow path. So for each cell in the output raster will be the distance from that cell to the polygon along the flow path and a null value if it doesn't drain to the polygon.
Is there any method I can achieve this?