Extrude Between (3D Analyst)

Summary

Creates 3D features by extruding each input feature between two triangulated irregular network (TIN) datasets.

Illustration

ExtrudeBetween illustration

Usage

  • Only the portion of input features that overlap the XY extent of both TINs will be represented in the output.

  • The geometry of the extruded features depends on the geometry of the input features:

    • Line and polygon input features result in the creation of multipatch geometry.
    • Point input features result in the creation of line geometry.
  • The tool may fail to generate a valid ouput if any of the input datasets have coincident boundaries with another input dataset. If the input polygon shares coincident borders with any of the TIN surfaces, consider using the Buffer tool to slightly modify the polygon's shape. Likewise, if one of the TIN surfaces has a coincident boundary with the other in the region overlapping with the polygon, consider modifying the TIN's data area either through interactive editing or by using the TIN Domain tool to output the TIN's footprint as a polygon, applying a slight buffer to the polygon, and loading the polygon back into the TIN using the Edit TIN tool.

Parameters

LabelExplanationData Type
Input TIN

The first input TIN.

TIN Layer
Input TIN

The second input TIN.

TIN Layer
Input Feature Class

The features that will be extruded between the TINs.

Feature Layer
Output Feature Class

The output that will store the extruded features.

Feature Class

arcpy.ddd.ExtrudeBetween(in_tin1, in_tin2, in_feature_class, out_feature_class)
NameExplanationData Type
in_tin1

The first input TIN.

TIN Layer
in_tin2

The second input TIN.

TIN Layer
in_feature_class

The features that will be extruded between the TINs.

Feature Layer
out_feature_class

The output that will store the extruded features.

Feature Class

Code sample

ExtrudeBetween example 1 (Python window)

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

arcpy.env.workspace = "C:/data"
arcpy.ddd.ExtrudeBetween("tin1", "tin2", "study_area.shp", "extrusion.shp")
ExtrudeBetween example 2 (stand-alone script)

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

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

# Import system modules
import arcpy

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

# Set Local Variables
inTIN1 = "ceiling"
inTIN2 = "floor"
inPoly = "study_area.shp"

# Ensure output has a unique name
outMP = arcpy.CreateUniqueName("extrusion.shp")

#Execute ExtrudeBetween
arcpy.ddd.ExtrudeBetween(inTIN1, inTIN2, inPoly, outMP)

Related topics