I am developing an addin for utility network using SDK (ArcGIS Pro 2.9 API) to perform an Upstream tracing. The tracing works and I get the element results, however, I do not get the connectivity between them.
The ResultType enum does not have an option to return the connectivity of the tracing results (ArcGIS Pro 2.9 API Reference Guide - ResultType Enumeration—ArcGIS Pro)
While in the documentation, there is a mention of 'Connectivity' result type to return a connectivity graph of network features (Configure a trace—ArcGIS Pro | Documentation)
Is it possible to return the element connectivity result from tracing using SDK? If yes, how?
Solved! Go to Solution.
Hi Karthik,
The Pro SDK does not yet support this result type. From now, you can use the geoprocessing API to call the Trace geoprocessing tool. You'll have to parse the returned JSON yourself to build a connectivity graph.
I hope this helps,
--Rich
Hi Karthik,
The Pro SDK does not yet support this result type. From now, you can use the geoprocessing API to call the Trace geoprocessing tool. You'll have to parse the returned JSON yourself to build a connectivity graph.
I hope this helps,
--Rich
Thank you Rich for your response.
I have asked a follow-up question here (Utility network trace using geoprocessing tool - Esri Community), please share your thoughts.