Hi team,
I have created an standalone .Net application to read the Utility network data using ArcGIS.CoreHost.dll.
I am able to read all the ElectricDevice and ElectricLine elements successfully.
Now I need to read how the ElectricLine is connected to devices or vice-versa. I tried reading the association type of all the lines, but it has no information in it. In the below screenshot we can see a MV Switch is connected to MV busbar. I need to read this information via my standalone application. Please suggest me which API or the logic to read this connectivity information's.
Solved! Go to Solution.
Fine-grained connectivity isn't exposed via the ArcGIS Pro SDK because it was designed to run against web services. Providing such a low-level, fine-grained API in that environment would not be very performance or scalable. However, you can use the export or trace method to produce a JSON file with connectivity information for the subnetwork that contains that feature. You can read this blog for a high-level overview of the process and this community article for a detailed explanation of how to achieve this.
I don’t believe there is any options into the topology data. It’s stored in a binary proprietary format in the enterprise geodatabase.
good luck with your idea
Fine-grained connectivity isn't exposed via the ArcGIS Pro SDK because it was designed to run against web services. Providing such a low-level, fine-grained API in that environment would not be very performance or scalable. However, you can use the export or trace method to produce a JSON file with connectivity information for the subnetwork that contains that feature. You can read this blog for a high-level overview of the process and this community article for a detailed explanation of how to achieve this.