从拓扑中移除要素类 (Data Management)

许可等级:BasicStandardAdvanced

摘要

从拓扑中移除要素类。

用法

语法

RemoveFeatureClassFromTopology_management (in_topology, in_featureclass)
参数说明数据类型
in_topology

要移除要素类的拓扑。

Topology
in_featureclass

要从拓扑中移除的要素类。

String

代码实例

RemoveFeatureClassFromTopology Python 窗口示例

以下独立脚本演示了如何在 Python 窗口中使用 RemoveFeatureClassFromTopology 函数。

import arcpy
arcpy.RemoveFeatureClassFromTopology_management("C:/Datasets/TestGPTopology.mdb/LegalFabric/topology", "Parcel_line")
RemoveFeatureClassFromTopology 独立脚本

以下独立脚本显示了如何使用 RemoveFeatureClassFromTopology 函数。

# 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)

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcGIS for Desktop Basic:否
ArcGIS for Desktop Standard:是
ArcGIS for Desktop Advanced:是
9/15/2013