jduvtti

Re-Build network using Python

Discussion created by jduvtti on Sep 2, 2011
Latest reply on Nov 5, 2013 by dk10
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

Outcomes