ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Add Edge-Edge Connectivity Rule To Geometric Network

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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

Usage

  • The feature classes specified must reside in the geometric network.

  • As a by-product of adding an edge-edge rule, edge-junction rules between the from and to edge feature classes and the junction feature class will be added to the geometric network, if they do not already exist.

  • The default junction subtype must be one of the specified junction subtypes.

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_management(Water_Net, "Distribmains", "Distribmains", "Distribmains", "Distribmains", "Fittings,Tap;Fittings,Tee;Fittings,Bend", "Fittings,Tap")

Environments

This tool does not use any geoprocessing environments

Licensing information

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Geometric Network toolset
  • About geometric network connectivity rules

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal