Read or construct network data

Discussion created by xbwei on Aug 7, 2012
Hi everyone,

I want to write a arcpy tool that can retrieve  connected edges and their attributes of a single edge in a road network.

Any one know how does the network analysis tool in arcgis build the network dataset, please?  The network dataset is built very quickly in a binary proprietary format with a of ??????Newtork_ND.nd folder, and the [Network Identify Tool] can easily find the connected edges and junctions of any selected edge.

Is there a way to  read those attributes by using arpcy? Or build a similar network class that contains those topological relationship?

I find arcpy can create a Describe object from the network dataset, and read edgeSource name or degeSource ID of the whole network (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v000000vm000000), but I can't read the attributes of a single edge element.