Set a network attribute

Network attributes are associated with attributes on feature classes and object tables in your network. They are derived from the network feature's attributes and cached inside the network topology to aid in performance while attributes are evaluated during a trace or while performing subnetwork management tasks. The values stored as attributes for features and objects are reflected or updated in the associated network attribute each time you validate the network topology.

To learn more, see Network attributes.

To work with network attributes, they must first be created using the Add Network Attribute tool. The network attribute can then be assigned to a field using the Set Network Attribute tool.

Requirements

Before you assign a network attribute to a field, the following requirements must be met:

  • The network topology must be disabled.
  • The network attribute data type must match the data type of the field to which it is being assigned.
  • Network attributes that do not support nulls can only be assigned to fields that do not allow null values.
  • When working with an enterprise geodatabase, ensure the following:

Assign a network attribute

To assign a network attribute to a field in a network feature class, complete the following steps:

  1. On the Analysis tab, in the Geoprocessing group, click Tools Tools to open the Geoprocessing pane.
  2. In the Geoprocessing pane, search for and select Set Network Attribute.
  3. For the Input Utility Network parameter, specify a utility network.
  4. For the Network Attribute parameter, specify a network attribute to assign to a feature class.
  5. For the Domain Network parameter, select the domain network to which the feature class belongs.
  6. For the Input Table parameter, select a utility network feature class.
  7. For the Field parameter, select the feature class field where you want the network attribute to be assigned. This list is filtered based on matching data types for the network attribute.
  8. Click Run.

The network attribute is assigned to the specified field for the network class.