Available with Standard or Advanced license.
Removes a feature class from a topology.
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.
RemoveFeatureClassFromTopology_management (in_topology, in_featureclass)
The topology from which to remove the feature class.
The feature class to remove from the topology.
RemoveFeatureClassFromTopology example (Python window)
The following stand-alone script demonstrates how to use the RemoveFeatureClassFromTopology function in the Python window.
import arcpy arcpy.RemoveFeatureClassFromTopology_management("C:/Datasets/TestGPTopology.gdb/LegalFabric/topology", "Parcel_line")
RemoveFeatureClassFromTopology example 2 (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 topo = "C:/Datasets/TestGPTopology.gdb/LegalFabric/topology" fc = "Parcel_line" arcpy.RemoveFeatureClassFromTopology_management(topo, fc)
This tool does not use any geoprocessing environments.
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes