Add Edge-Edge Connectivity Rule To Geometric Network (Data Management)

License Level:BasicStandardAdvanced

Summary

Adds an edge-edge connectivity rule to a geometric network.

Usage

Syntax

AddEdgeEdgeConnectivityRuleToGeometricNetwork_management (in_geometric_network, in_from_edge_feature_class, from_edge_subtype, in_to_edge_feature_class, to_edge_subtype, in_junction_subtypes, default_junction_subtype)
ParameterExplanationData Type
in_geometric_network

The geometric network to which the connectivity rule will be added.

Geometric Network
in_from_edge_feature_class

The name of the from edge feature class.

String
from_edge_subtype

The subtype description for the from edge feature class. If subtypes do not exist on the feature class, use the feature class name.

String
in_to_edge_feature_class

The name of the to edge feature class.

String
to_edge_subtype

The subtype description for the to edge feature class. If subtypes do not exist on the feature class, use the feature class name.

String
in_junction_subtypes
[in_junction_subtypes,...]

The junction feature classes and subtypes through which these edge feature classes or subtypes will be permitted to connect.

String
default_junction_subtype

Junction Subtype that will serve as the default junction subtype for the edge-edge connectivity rule.

String

Code Sample

AddEdgeEdgeConnectivityRuleToGeometricNetwork example (stand-alone script)

The following stand-alone Python script demonstrates how to use the AddEdgeJunctionConnectivityRuleToGeometricNetwork in Python script to add an edge-edge connectivity rule with three different types of junctions to a geometric network.

# Import arcpy module
import arcpy

# Local variables:

Water_Net = "C:/data/Montgomery.gdb/Water/Water_Net"

# Process: Add Edge-Edge Connectivity Rule To Geometric Network
arcpy.AddEdgeEdgeConnectivityRuleToGeometricNetwork(Water_Net, "Distribmains", "Distribmains", "Distribmains", "Distribmains", "Fittings,Tap;Fittings,Tee;Fittings,Bend", "Fittings,Tap")

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013