I have a script that makes a copy of a network dataset for a 3rd party app to use. One of the junction feature classes causes problems with the app. The ideal solution would be to remove it from the network, but we're at 10.0 and have no way to do that without dropping and rebuilding it (that I'm aware of). So, I instead am just deleting all the features out and leaving an empty table.

When manually deleting junction features, net junctions are automatically created as needed. However, it doesn't look like they're getting created when deletes are done using either DeleteFeatures or DeleteRows in python.

Has anyone encountered this? Is there either a better way to accomplish the task or a way to get python to create the net junctions?

closed as off-topic by PolyGeo Nov 15 '17 at 23:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.