TIN Edge (3D Analyst)

Extracts triangle edges from an input TIN into an output feature class.

Produces a line feature class whose lines are extracted edges of the input TIN.

Learn more about how TIN Edge (3D Analyst) works


Illustration

TIN Edge illustration

Usage tips

Syntax

TinEdge_3d (in_tin, out_feature_class, edge_type)
Parameter Explanation Datatype
Input TIN (Required)

The input TIN.

Tin Layer
Output Feature Class (Required)

The output polyline feature class.

Feature Class
Triangle Edge Type (Optional)

The type of triangle edge to be extracted.

String
Data types for geoprocessing tool parameters

Script Example

# Purpose: Extract the edges from a TIN.

# Create the Geoprocessor object
import arcgisscripting
gp = arcgisscripting.create()

#Check out the 3D Analyst extension
gp.CheckOutExtension ("3D")

try:
    # Set the workspace (to avoid having to type in the full path to the data every time)
    gp.workspace = "D:/Docs1/GP/GPOutput"


   # Select the 3D Analyst Toolbox
    gp.toolbox = "3D"

    # Process: extract a TIN's edges
    gp.tinedge_3d ("dtm_tin", "TinEdge.shp")

except:
    # If an error occurred while running the tool print the error messages
    print gp.GetMessages()

See Also

  • An overview of the 3D Analyst Conversion toolset
  • TIN Domain (3D Analyst)