Quitar clase de entidad del terreno (3D Analyst)

Resumen

Quita la referencia a una clase de entidad que participa en un dataset de terreno.

Uso

Sintaxis

RemoveFeatureClassFromTerrain_3d (in_terrain, feature_class)
ParámetroExplicaciónTipo de datos
in_terrain

The input terrain dataset.

Terrain Layer
feature_class

La clase de entidad que se quitará.

String

Ejemplo de código

Ejemplo 1 de RemoveFeatureClassFromTerrain (ventana de Python)

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")
Ejemplo 2 de RemoveFeatureClassFromTerrain (secuencia de comandos independiente)

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)

Entornos

Temas relacionados

Información de licencia

ArcView: Requiere 3D Analyst
ArcEditor: Requiere 3D Analyst
ArcInfo: Requiere 3D Analyst

7/10/2012