ArcGIS Pro SDK and Network Dataset Connectivity

86
4
Jump to solution
09-03-2020 08:49 AM
MikeSayre
New Contributor II

We would like to obtain a listing of Network Dataset edges and their connected junctions using custom code in ArcGIS Pro.  I found some example ArcObjects code in this older thread: https://community.esri.com/thread/97965.  We'd like to do something similar using the ArcGIS Pro SDK.  Can somebody provide some documentation on library calls, or sample code, that could show us how to do this?  My searching hasn't turned up the answer yet.

0 Kudos
1 Solution

Accepted Solutions
MelindaMorang
Esri Regular Contributor

This can be done with the arcpy.nax python module using the NetworkDataset class: NetworkDataset—ArcGIS Pro | Documentation 

View solution in original post

4 Replies
MelindaMorang
Esri Regular Contributor

This can be done with the arcpy.nax python module using the NetworkDataset class: NetworkDataset—ArcGIS Pro | Documentation 

View solution in original post

MikeSayre
New Contributor II

Thanks Melinda.  Does this mean there isn't a C# option?  We have some custom plug-ins written in C# and the preference would be to make the calls in C#.  But if that's not possible, we'll use Python.

0 Kudos
MelindaMorang
Esri Regular Contributor

That's correct, there is no C# option, just the python.

0 Kudos
MikeSayre
New Contributor II

Thanks, we will go with Python then.

0 Kudos