TIN Polygon Tag (3D Analyst)

Extracts polygons with tag information from an input TIN into an output feature class. Produces a polygon feature class whose polygons are categorized by the input TIN's triangle tag values.

Learn more about how TIN Polygon Tag (3D Analyst) works


Illustration

TIN Polygon Tag illustration

Usage tips

Syntax

TinPolygonTag_3d (in_tin, out_feature_class, tag_field)
Parameter Explanation Datatype
Input TIN (Required)

The input TIN.

Tin Layer
Output Feature Class (Required)

The output feature class.

Feature Class
Tag Value Field (Optional)

The name of the output feature class tag attribute field. By default, the field name is "Tag_Value".

String
Data types for geoprocessing tool parameters

Script Example

# Purpose: Create a polygon feature class with TIN node tag infoformation.

# 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 nodes with polygon tags
    gp.tinpolygontag_3d ("valtin", "TinPolyTag.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)
  • TIN Edge (3D Analyst)
  • TIN Node (3D Analyst)
  • TIN Triangle (3D Analyst)