Re-Build network using Python

1991
1
09-02-2011 08:28 AM
jianhedu
New Contributor
I have built a network from shapefile using "minutes" as the cost field.  The "minutes" field needs to be updated several times and each time a new fastest route needs to be generated between a pair of O/D.  I tried to use python code (arcpy.buildnetwork_na) in the embedded window in ArcGIS to do this automatically.  However, it doesn't work, even though I removed the network AND the orginial shapefile from my ArcGIS (due to the "exclusive schema lock" issue). 
Anyone knows what's going on here?
Thanks
Tags (2)
0 Kudos
1 Reply
DarrylKlassen
New Contributor III
I am having the same issue when I try and re-build my network after editing the line feature class that is participating.  Did you ever find a solution to this?
0 Kudos