AnsweredAssumed Answered

ArcPy - Update/modify Network Dataset roads source

Question asked by DemersM on Apr 10, 2018



I am trying to create a tool to automatize the update of roads source used in a Network Dataset. In short, I want to truncate the roads feature class and append the new roads data into it. Finally, I want to rebuild the Network Dataset.


When I try to edit the roads feature class, I encounter errors because arcpy can't edit a feature class used by a Network Dataset.


Is there a strategy I could try to achieve what I am trying to do?


Note: The Network Dataset is stored in Geodatabase Enterprise (SDE)