Remove Feature Class From Topology (Data Management)

Summary

Removes a feature class from a topology.

Usage

Syntax

RemoveFeatureClassFromTopology_management (in_topology, in_featureclass)
ParameterExplanationData Type
in_topology

The topology from which to remove the feature class.

Topology
in_featureclass

The feature class to remove from the topology.

String

Code Sample

RemoveFeatureClassFromTopology Python Window example

The following stand-alone script demonstrates how to use the RemoveFeatureClassFromTopology function in the Python Window.

import arcpy
arcpy.RemoveFeatureClassFromTopology_management("C:/Datasets/TestGPTopology.mdb/LegalFabric/topology", "Parcel_line")


RemoveFeatureClassFromTopology stand-alone script

The following stand-alone script demonstrates how to use the RemoveFeatureClassFromTopology function.


# Name: RemoveClassFromTopology_Example.py
# Description: Removes a feature class from participating in a topology
# Author: ESRI

# Import system modules

import arcpy
from arcpy import env

topo = "C:/Datasets/TestGPTopology.mdb/LegalFabric/topology"
fc = "Parcel_line"
arcpy.RemoveFeatureClassFromTopology_management(topo, fc)


Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: Yes
ArcInfo: Yes

10/27/2014