ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Remove Connectivity Rule From Geometric Network

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

Summary

Removes a connectivity rule from the geometric network.

Usage

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

  • Removal of an edge-edge rule does not remove the corresponding edge-junction rules. Conversely, removal of an edge-junction rule does not remove the corresponding edge-edge rule.

Syntax

RemoveConnectivityRuleFromGeometricNetwork(in_geometric_network, in_connectivity_rules)
ParameterExplanationData Type
in_geometric_network

The geometric network from which the connectivity rule will be removed.

Geometric Network
in_connectivity_rules
[[feature class, subtype],...]

For Edge-Junction rules, the edge feature class with subtype and junction feature class with subtype. For Edge-Edge rules, the from edge feature class with subtype, the to edge feature class with subtype and junction with subtype.

String

Code sample

The following stand-alone Python script demonstrates how to use the RemoveConnectivityRuleFromGeometricNetwork to remove an edge-junction connectivity rule from a geometric network.

# Import arcpy module
import arcpy

# Local variables:
Water_Net = "C:\\testing\\GeometricNetworks\\Montgomery.gdb\\Water\\Water_Net"

# Process: Remove Connectivity Rule From Geometric Network
arcpy.RemoveConnectivityRuleFromGeometricNetwork_management(Water_Net, "Distribmains; Distribmains;Fittings;Tap")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics

  • An overview of the Geometric Network toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal