Converts a TIN to a PolygonZ TIN feature class. Calculates several 3D characteristics for each triangle and stores them in the attribute table.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | TinToPolygonZTin |
| <input tin> | A String representing the input TIN dataset. |
| <output dataset> | A String - the full name of the output PolygonZ dataset. |
| {light azimuth} | A Double representing azimuth of the light source (0 to 360). 0 indicates North, 90 - East, 180 - South, 270 - West. |
| {light altitude} | A Double representing the altitude of the light source in degrees (0 to 90). |
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, "TinToPolygonZTin", "input tin", "output dataset", "light azimuth", "light altitude"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "TinToPolygonZTin" "input tin" "output dataset" "light azimuth" "light altitude" |
| .NET using ETSOutX.dll | TinToPolygonZTin(input tin, output dataset, light azimuth, light altitude) |
| ArcPy | arcpy.TinToPolygonZTin("input tin", "output dataset", "light azimuth", "light altitude") |
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.