Remove Connectivity Rule From Geometric Network (Data Management)

License Level:BasicStandardAdvanced

Summary

Removes a connectivity rule from the geometric network.

Usage

Syntax

RemoveConnectivityRuleFromGeometricNetwork_management (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.gp.RemoveConnectivityRuleFromGeometricNetwork(Water_Net, "Distribmains; Distribmains;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