TIN Triangle (3D Analyst)

Extracts triangles as polygons from an input TIN into an output feature class.

Produces a polygon feature class whose polygons are constructed from the input TIN's triangles.

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


TIN Triangle illustration

Usage tips


TinTriangle_3d (in_tin, out_feature_class, units, z_factor, hillshade, tag_field)
Parameter Explanation Datatype
Input TIN (Required)

The input TIN.

Tin Layer
Output Feature Class (Required)

The output feature class.

Feature Class
Slope Units (Optional)

The units of measure to be used in calculating the slope. By default, the units will be degrees.

Z Factor (Optional)

The factor applied to the triangle slope calculation to convert the TIN's z units to its x and y units. By default, the z-factor is 1.

HILLSHADE azimuth, altitude (Optional)

Provides hillshading for the feature class and sets the light source's azimuth and altitude.

Tag Value Field (Optional)

The tag value field.

Data types for geoprocessing tool parameters

Script Example

# Purpose: Extract triangles as polygons from a TIN surface.

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

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

    # 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 triangles from a TIN
    gp.tintriangle_3d ("dtm_tin", "TinTriangle.shp", "PERCENT", "0.3048", "HILLSHADE 45 45")

    # 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)
  • TIN Polygon Tag (3D Analyst)