TIN Line (3D Analyst)

Writes the hard and soft breaklines from a TIN into a new 3-D polyline feature class.

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


Illustration

TinLine illustration

Usage tips

Syntax

TinLine_3d (in_tin, out_feature_class, code_field)
Parameter Explanation Datatype
Input TIN (Required)

The input TIN.

Tin Layer
Output Feature Class (Required)

The output feature class.

Feature Class
Code Field (Optional)

The name of the field added to the output feature class that will contain the breakline type codes. The default is Code.

String
Data types for geoprocessing tool parameters

Script Example

# Purpose: Extract the soft and hard lines 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 soft and hard lines
    gp.tinline_3d ("dtm_tin", "TinLine.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 Edge (3D Analyst)
  • TIN Node (3D Analyst)
  • TIN Triangle (3D Analyst)
  • TIN Polygon Tag (3D Analyst)