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


Illustration

TIN Triangle illustration

Usage tips

Syntax

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.

String
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.

Double
HILLSHADE azimuth, altitude (Optional)

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

String
Tag Value Field (Optional)

The tag value field.

String
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")

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

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