I'm using ArcGIS 10.2.2 python 2.7
We have large electric grid dataset, and we want to know which OHL or Cable is first to leave from transformer(Flag) which is second and so on.... arcpy.TraceGeometricNetwork_management
returns everything at once.
One idea I have is to make points where line segments end and use this as Barrier. Then on another iteration the barrier that stopped trace is acting as Flag and it traces to another Barrier and so on...
But this will probable will take too much time to execute. I'm interested if someone has a different view of this problem.