Remove Empty Feature Class From Geometric Network (Data Management)

License Level:BasicStandardAdvanced

Summary

Removes an empty feature class from a geometric network.

Usage

Syntax

RemoveEmptyFeatureClassFromGeometricNetwork_management (in_geometric_network, in_feature_class)
ParameterExplanationData Type
in_geometric_network

The geometric network from which the feature class will be removed.

Geometric Network
in_feature_class

The name of the feature class to remove.

String

Code Sample

The following stand-alone Python script demonstrates how to use the RemoveFeatureClassFromGeometricNetwork tool to remove an empty feature class called "Tanks" from a geometric network.

# Import arcpy module
import arcpy

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

# Process: Remove Feature Class From Geometric Network
arcpy.RemoveFeatureClassFromGeometricNetwork(Water_Net, "Tanks")

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