Extrude Between (3D Analyst)
Summary
Converts polygons into multipatches by extruding them between two input TINs. The output multipatches are written to a new feature class.
Illustration
![]() |
Usage
-
The input TINs and polygons must all overlap in horizontal extent in order to produce any output.
Syntax
ExtrudeBetween_3d (in_tin1, in_tin2, in_feature_class, out_feature_class)
| Parameter | Explanation | Data Type |
in_tin1 |
The first input TIN. | TIN Layer |
in_tin2 |
The second input TIN. | TIN Layer |
in_feature_class |
The input polygon feature class. | Feature Layer |
out_feature_class |
The output multipatch feature class. | Feature Class |
Code Sample
Extrude Between Example 1 (Python window)
The following Python Window script demonstrates how to use the Extrude Between function in immediate mode.
import arcpy
from arcpy import env
arcpy.CheckOutExtension("3D")
env.workspace = "C:/data"
arcpy.ExtrudeBetween_3d("tin1", "tin2", "study_area.shp", "extrusion.shp")
Extrude Between Example 2 (stand-alone script)
The following Python script demonstrates how to use the Extrude Between function in a stand-alone script.
'''****************************************************************************
Name: ExtrudeBetween Example
Description: This script demonstrates how to use the
ExtrudeBetween 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
inTIN1 = "ceiling"
inTIN2 = "floor"
inPoly = "study_area.shp"
# Ensure output has a unique name
outMP = arcpy.CreateUniqueName("extrusion.shp")
#Execute ExtrudeBetween
arcpy.ExtrudeBetween_3d(inTIN1, inTIN2, inPoly, outMP)
del inTIN1, inTIN2, inPoly, outMP, arcpy
Environments
Related Topics
Licensing Information
ArcView: Requires 3D Analyst
ArcEditor: Requires 3D Analyst
ArcInfo: Requires 3D Analyst
11/10/2011
