Select to view content in your preferred language

Using output of trace tool in Python

284
0
08-31-2022 12:23 AM
Labels (1)
MaryamBarzegar
New Contributor III

Hello, I'm trying to use the output of trace tool (shortest path) for further analysis. The aggregated geometry option doesn't bring the attributes and I need the attributes as well. Based on below post, the NetworkLayer option can be used and I tried to use a similar approach that is used in ArcMap and works with the resultant group layer but ArcGIS Pro doesn't recognise the group layer that is added to the map. If I use Select layer by Location and aggregated geometry result, I'll end up with extra segments at junctions. Can someone please explain how this can be done in Python?

 

https://community.esri.com/t5/trace-network-questions/how-do-you-work-with-trace-results/m-p/699045#...

https://community.esri.com/t5/arcgis-pro-ideas/select-output-of-tracegeometricnetwork-management/idi...

@JonDeRose  can you please provide an example in Python for ArcGIS Pro?

0 Kudos
0 Replies