Feature-Class aus Terrain entfernen (3D Analyst)

Zusammenfassung

Entfernt den Verweis auf eine Feature-Class, die an einem Terrain-Dataset beteiligt ist.

Verwendung

Syntax

RemoveFeatureClassFromTerrain_3d (in_terrain, feature_class)
ParameterErläuterungDatentyp
in_terrain

The input terrain dataset.

Terrain Layer
feature_class

Die zu entfernende Feature-Class

String

Codebeispiel

RemoveFeatureClassFromTerrain – Beispiel 1 (Python-Fenster)

The following sample demonstrates the use of this tool in the Python window:

import arcpy
from arcpy import env

arcpy.CheckOutExtension("3D")
env.workspace = "C:/data"
arcpy.RemoveFeatureClassFromTerrain_3d("sample.gdb/featuredataset/terrain", 
                                     "points_1995")
RemoveFeatureClassFromTerrain –Beispiel 2 (eigenständiges Skript)

The following sample demonstrates the use of this tool in a stand-alone Python script:

'''****************************************************************************
Name: RemoveFeatureClassFromTerrain Example
Description: This script demonstrates how to use the 
             RemoveFeatureClassFromTerrain tool.
****************************************************************************'''

# Import system modules
import arcpy
from arcpy import env

# Obtain a license for the ArcGIS 3D Analyst extension
arcpy.CheckOutExtension("3D")

# Set environment settings
env.workspace = "C:/data"

# Set Local Variables
inTerrain = "sample.gdb/featuredataset/terrain"
remFC = "points_1995"
#Execute RemoveFeatureClassFromTerrain
arcpy.RemoveFeatureClassFromTerrain_3d(inTerrain, remFC)

Umgebungen

Verwandte Themen

Lizenzinformationen

ArcView: Erfordert 3D Analyst
ArcEditor: Erfordert 3D Analyst
ArcInfo: Erfordert 3D Analyst

7/10/2012