Exports the edges of a TIN to a new polyline feature class. Calculates several 3D characteristics for each edge and stores them in the attribute table.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | ExtractTinEdges |
| <input tin> | A String representing the input TIN dataset. |
| <output dataset> | A String - the full name of the output polyline dataset. |
| {3D features} | A Boolean indicating whether the result will be Polyline or PolylineZ. "True" will create PolylineZ features. The default is "False", which will create Polyline features. |
| {edge type} | A string indicating the type of the edges to be exported. Valid values - "All", "Hard", "Regular", "Soft". The default value is "All". |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETSPath, "ExtractTinEdges", "input tin", "output dataset", "3D features". "edge type"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "ExtractTinEdges" "input tin" "output dataset" "3D features" "edge type" |
| .NET using ETSOutX.dll | ExtractTinEdges(input tin, output dataset, 3D features, edge type) |
| ArcPy | arcpy.ExtractTinEdges("input tin", "output dataset", "3D features", "edge type") |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.