Skip to main content

Export Subnetwork (Utility Network Tools)

Summary

Exports subnetworks from a traditional domain network into a .json file. This tool also allows you to delete a row in the Subnetworks table as long as the Is deleted attribute is set to true. This indicates that the subnetwork controller has been removed from the subnetwork.

Note:

The export subnetwork operation processes asynchronously using the UtilityNetworkTools geoprocessing service when working with a utility network in an enterprise geodatabase. The UtilityNetworkTools service is preconfigured in the System folder for feature services that include a utility network. It has a longer time-out setting and is reserved for utility network geoprocessing tasks.

Learn more about exporting subnetworks

Usage

  • The subnetworks must be clean before they can be exported; run the Update Subnetwork tool first.

  • The parameters in the Trace Parameters category can only be used in Python.

  • The following requirements must be met when working with an enterprise geodatabase:

    • The Input Utility Network parameter value must be from a utility network service.

    • License:

      The active portal account must be assigned a license with the ArcGIS Advanced Editing user type extension to use this tool in an enterprise deployment.

  • When the Set export acknowledged parameter is checked, the following must be true:

    • The network topology must be enabled.

    • Enterprise geodatabases have the following additional requirements:

      • This tool must be connected to the default version to run.

        • All other sessions connected to the default version are blocked from running validate or enable operations during the enable operation.
      • The connected ArcGIS Enterprise portal account must be the portal utility network owner.

Parameters

Label Explanation Data type

Input Utility Network

The utility network that contains the subnetwork that will be exported.

Utility Network; Utility Network Layer

Domain Network

The domain network that contains the subnetwork.

String

Tier

The tier that contains the subnetwork.

String

Subnetwork Name

The name of the subnetwork that will be exported from the tier. Select a specific source to export the corresponding subnetwork information. When the Subnetworks table contains 10,000 or more records for a tier, the parameter's choice list is not populated and an empty field is provided for the subnetwork name.

String

Set export acknowledged

Specifies whether the LASTACKEXPORTSUBNETWORK attribute for the corresponding controller in the Subnetworks table and feature in the SubnetLine feature class will be updated.

  • CheckedThe LASTACKEXPORTSUBNETWORK attribute for the corresponding controller in the Subnetworks table will be updated. If the source has been marked for deletion (Is deleted = True), it will be deleted from the Subnetworks table. This option requires that the input utility network reference the default version.

  • UncheckedThe LASTACKEXPORTSUBNETWORK attribute for the corresponding controller in the Subnetworks table will not be updated. This is the default.

Boolean

Output JSON

The name and location of the .json file that will be generated.

File

Condition Barriers

(Optional)

Sets a traversability barrier condition on features based on a comparison to a network attribute or check for a category string. A condition barrier uses a network attribute or network category, an operator and a type, and an attribute value. For example, stop a trace when a feature has the Device Status attribute equal to the specific value of Open. When a feature meets this condition, the trace stops. If you're using more than one attribute, you can use the Combine using parameter to define an And or an Or condition.

Learn more about using multiple conditional expressions

Note:

This parameter is only available for Python.

Value table columns:

  • NameFilter by network attribute name.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • TypeFilter by a specific type.

    • Specific valueFilter by a specific value or network category.

    • Network attributeFilter by a network attribute.

  • ValueFilter by a specific value.

  • Combine UsingUse this parameter to combine multiple condition barriers.

    • AndCombine the condition barriers.

    • OrUse if either condition barrier is met.

Value Table

Function Barriers

(Optional)

Sets a traversability barrier on features based on a function. Function barriers can be used to do such things as restrict how far the trace travels from the starting point, or set a maximum value to stop a trace. For example, the length of each line traveled is added to the total distance traveled so far. When the total length traveled reaches the value specified, the trace stops.

Note:

This parameter is only available for Python.

Value table columns:

  • FunctionFilter by a function.

    • MinimumThe minimum of the input values will be identified.

    • MaximumThe maximum of the input values will be identified.

    • AverageThe average of the input values will be calculated.

    • CountThe number of features will be identified.

    • AddThe sum of the input values will be calculated.

    • SubtractThe difference in the input values will be calculated. Subnetwork controllers and loops trace types do not support the subtract function.

  • AttributeFilter by a network attribute.

  • OperatorFilter by an operator.

    • Is equal toThe attribute is equal to the value.

    • Does not equalThe attribute is not equal to the value.

    • Is greater thanThe attribute is greater than the value.

    • Is greater than or equal toThe attribute is greater than or equal to the value.

    • Is less thanThe attribute is less than the value.

    • Is less than or equal toThe attribute is less than or equal to the value.

    • Includes the values (bitwise AND equals the value)A bitwise AND operation in which all bits in the value are present in the attribute (bitwise AND == value).

    • Does not include the values (bitwise AND does not equal the value)A bitwise AND operation in which not all of the bits in the value are present in the attribute (bitwise AND != value).

    • Includes any (bitwise AND equals True)A bitwise AND operation in which at least one bit in the value is present in the attribute (bitwise AND == True).

    • Does not include any (bitwise AND equals False)A bitwise AND operation in which none of the bits in the value are present in the attribute (bitwise AND == False).

  • ValueFilter by a specific value.

  • Use Local ValuesBoolean value to use local variables instead of a global variable.

Value Table

Include Barrier Features

(Optional)

Specifies whether the traversability barrier features will be included in the trace results. Traversability barriers are optional even if they have been preset in the subnetwork definition.

  • CheckedTraversability barriers will be included in the trace results. This is the default.

  • UncheckedTraversability barriers will not be included in the trace results.

Boolean

Apply Traversability To

(Optional)

Specifies the type of traversability that will be applied. Traversability scope determines whether traversability is applied to junctions, edges, or both. For example, if a condition barrier is defined to stop the trace if DEVICESTATUS is set to Open and traversability scope is set to edges only, the trace will not stop even if the trace encounters an open device, because DEVICESTATUS is only applicable to junctions. In other words, this parameter indicates to the trace whether to ignore junctions, edges, or both.

Note:

This parameter is only available for Python.

  • Both junctions and edgesTraversability will be applied to both junctions and edges. This is the default.

  • Junctions onlyTraversability will be applied to junctions only.

  • Edges onlyTraversability will be applied to edges only.

String

Propagators

(Optional)

Specifies the network attributes to propagate as well as how that propagation will occur during a trace in a traditional domain network. Propagated class attributes denote the key values on subnetwork controllers that are disseminated to the rest of the features in the subnetwork. For example, in an electric distribution model, you can propagate the phase value.

Note:

This parameter is only available for Python.

Value table columns:

  • AttributeFilter by a network attribute.

  • Substitution AttributeThe field used for substitution.

  • FunctionFilter by a function.

  • OperatorFilter by an operator.

  • ValueFilter by a specific value.

Value Table

Include geometry

(Optional)

Specifies whether geometry will be included in the results.

  • CheckedGeometry will be included in the results.

  • UncheckedGeometry will not be included in the results. This is the default.

Boolean

Result Types

(Optional)

Specifies the types of results that will be returned.

  • ConnectivityFeatures that are connected through geometric coincidence or connectivity associations will be returned.

  • FeaturesFeature-level information will be returned.

  • Containment and attachment associationsFeatures that are associated through containment and structural attachment associations will be returned.

  • Related recordsValues from related objects will be returned for features in the subnetwork for the specified relationship class and field.

    Note:

    For enterprise geodatabases, this option requires ArcGIS Enterprise 11.5 or later.

String

Result Network Attributes

(Optional)

The network attributes that will be included in the results.

String

Result Fields

(Optional)

The fields from a feature class that will be returned as results. The values of the fields will be returned in the results for the features in the subnetwork.

Value table columns:

  • Feature ClassA feature or object class that participates in the utility network.

  • Field NameThe name of a field from the feature or object class that will have its values returned in the results.

Value Table

Include domain descriptions

(Optional)

Specifies whether domain descriptions will be included in the output .json file to communicate domain mapping for controllers, featureElements, connectivity, and associations.

  • CheckedDomain descriptions will be included in the results.

  • UncheckedDomain descriptions will not be included in the results. This is the default.

Boolean

Related Record Fields

(Optional)

The fields from related object classes that will be returned as results. The values of the fields will be returned in the results for the features in the subnetwork.

Value table columns:

  • Relationship ClassA relationship class that relates to a feature or object class that participates in the utility network.

  • Field NameThe name of a field from the related object class that will have its values returned in the results.

Value Table

Include flow directions

(Optional)

Specifies whether flow directions will be included in the output .json file. If included, the file will contain flow direction information derived from the subnetwork controllers for traversed lines, edge objects, the internal edges of devices with terminals, and connectivity associations.

This parameter applies only to the Connectivity and Features result types options.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 12.1 or later.

  • CheckedFlow directions will be included in the results.

  • UncheckedFlow directions will not be included in the results. This is the default.

Boolean

Include propagated values

(Optional)

Specifies whether propagated values will be included in the output .json file for the exported subnetwork. This parameter is only applicable to the Features result type.

Note:

For enterprise geodatabases, this parameter requires ArcGIS Enterprise 12.1 or later.

  • CheckedPropagated values will be included in the results.

  • UncheckedPropagated values will not be included in the results. This is the default.

Boolean

Derived output

Label Explanation Data type

Updated Utility Network

The updated utility network.

Utility Network

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes