ArcPy - Update/modify Network Dataset roads source

226
0
04-10-2018 06:56 AM
MaximeDemers
Occasional Contributor III

Hi,

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)

0 Kudos
0 Replies