Deletes a network category in a utility network.
A network category cannot be deleted if it is assigned to an asset type. A network category can be unassigned using the Set Network Category tool.
When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.
The network topology must be disabled.
When working with an enterprise geodatabase, this tool must be executed when connected to the default version.
The utility network that contains the network category to be deleted.
|Utility Network; Utility Network Layer|
The name of the network category to delete.
The updated utility network.
Delete the Disconnect network category in a utility network.
import arcpy arcpy.DeleteNetworkCategory_un('Utility Network', 'Disconnect')
- Basic: No
- Standard: Yes
- Advanced: Yes