Label | Explanation | Data Type |
Input TIN
| The input TIN dataset or layer from which the new layer will be created. | TIN Layer |
Output TIN Layer
| The name of the TIN layer to be created. The output layer can be used as an input to any geoprocessing tool that accepts a TIN layer as input. | TIN Layer |
Summary
Creates a triangulated irregular network (TIN) layer from an input TIN dataset or layer file. The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved.
Usage
The temporary layer produced by this tool can be saved as a layer file using the Save To Layer File tool.
This tool is useful for operations that require a TIN layer, such as the automation of map production through the arcpy.mapping module.
Parameters
arcpy.management.MakeTinLayer(in_tin, out_layer)
Name | Explanation | Data Type |
in_tin | The input TIN dataset or layer from which the new layer will be created. | TIN Layer |
out_layer | The name of the TIN layer to be created. The output layer can be used as an input to any geoprocessing tool that accepts a TIN layer as input. | TIN Layer |
Code sample
The following sample demonstrates the use of this tool in the Python window.
import arcpy
arcpy.env.workspace = 'C:/gis_data/input'
arcpy.management.MakeTinLayer('dtm', 'Elevation Layer')