The NetworkCostCalculator can only trace for one point at a time. It's computationally intensive to do this with a lot of points, but if you duplicate your network once for each source point (Aggregate source points together, making a list of their IDs, FeatureMerger that list onto the network, and then ListExploder so you get a copy of the network each with the ID of the point it's for), then the Group By on the NetworkCostCalculator will trace each point separately.
This creates another issue that you then need to collapse that result set into one. This could be done by chopping the network into points, extract the Z value, intersect points where they touch (adding list of the Z values), and only keep the point with the lowest Z value. Then you can create the DEM from that set of network points.
The NetworkCostCalculator can only trace for one point at a time. It's computationally intensive to do this with a lot of points, but if you duplicate your network once for each source point (Aggregate source points together, making a list of their IDs, FeatureMerger that list onto the network, and then ListExploder so you get a copy of the network each with the ID of the point it's for), then the Group By on the NetworkCostCalculator will trace each point separately.
This creates another issue that you then need to collapse that result set into one. This could be done by chopping the network into points, extract the Z value, intersect points where they touch (adding list of the Z values), and only keep the point with the lowest Z value. Then you can create the DEM from that set of network points.
I was too focussed on creating a loop to do it point by point. The first part of your post was enough for me. I wanted to generate a single raster per point so I could add a weighing factor to each raster. Thank you very much!