Convert 2D feature classes to 3D feature classes by interpolating the Z values from a reference TIN.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | FeaturesTo3DTin |
| <input dataset> | A String representing the input feature dataset. |
| <output dataset> | A String - the full name of the output dataset. |
| <reference tin> | A String - the full name of the reference TIN dataset. |
| {Z for vertices only} | A Boolean (optional). If TRUE Z values will be interpolated for the existing vertices of the input features. If False new vertices will be added to the input features in the places of intersection with the TIN edges. |
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, "FeaturesTo3DTin", "input dataset", "output dataset", "reference tin", "Z for vertices only"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "FeaturesTo3DTin" "input dataset" "output dataset" "reference tin" "Z for vertices only" |
| .NET using ETSOutX.dll | FeaturesTo3DTin(input dataset, output dataset, reference tin, Z for vertices only) |
| ArcPy | arcpy.FeaturesTo3DTin("input dataset", "output dataset", "reference tin", "Z for vertices only") |
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.