ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Remove Feature Class From Topology

Available with Standard or Advanced license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

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.

  • Legacy:
    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 enterprise geodatabase is version 10.0 or higher. To upgrade your geodatabase to the latest version, use the Upgrade Geodatabase tool.

Syntax

arcpy.management.RemoveFeatureClassFromTopology(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

Derived Output

NameExplanationData Type
out_topology

The updated topology.

Topology

Code sample

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)

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics

  • An overview of the Topology toolset
  • Topology basics
  • Topology in ArcGIS
  • Designing a geodatabase topology

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal