Remove Feature Class From Topology (Data Management)
Summary
Removes a feature class from a topology.
Usage
-
Removing a feature class from a topology also removes all the topology rules associated with that feature class.
-
Removing a feature class from a topology will require the entire topology to be validated.

Prior to ArcGIS 10.1, feature classes could not be removed from versioned topology. In ArcGIS 10.1, you can remove feature classes from a versioned topology when the ArcSDE geodatabase is version 10.0 or higher. To upgrade your geodatabase to the latest version, use the Upgrade_Geodatabase tool.
Syntax
RemoveFeatureClassFromTopology_management (in_topology, in_featureclass)
Parameter | Explanation | Data 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
# 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
ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015