Adds a network category to an existing utility network.
Categories are used to control analysis at the asset group and asset type levels; for example, you can define whether a particular asset group or asset type is a protective device. You can also define a category type to control how trace analysis is executed; for example, you can specify that a network trace ends at a user-defined category type of ProtectiveDevice.
This tool allows you to add a new network category to a utility network that can be later assigned to a feature class at the asset group or asset type level using the Set Network Category tool.
Network categories can later be assigned to a network class for a specific asset group or asset type using the Set Network Category tool.
The connected ArcGIS Enterprise portal account must be the portal utility network owner.
The network topology must be disabled.
This tool should be executed when connected to the default version.
The input utility network must be from a database connection established as the database utility network owner.
The input utility network where the network category will be added.
|Utility Network; Utility Network Layer|
The name of the category to be created.
The updated utility network.
Add a category named Protective to the input utility network.
import arcpy arcpy.AddNetworkCategory_un('Utility Network', 'Protective')
- Basic: No
- Standard: Yes
- Advanced: Yes