Calculates the cut and fill areas for each polygon from a polygon feature class based on user assigned level or different levels for each polygon from a field in the attribute table and the surface defined by a TIN. If a single polygon has both cut and fill areas it is split into two or more polygons. The Volume and 3D area are calculated for each resulting polygon.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | PolygonCutFillTin |
| <input dataset> | A String representing the input polygon feature dataset. |
| <output dataset> | A String - the full name of the output polygon dataset. |
| <reference tin> | A String - the full name of the reference TIN dataset. |
| <level field> | A String indicating the field name of the input polygon attribute table to be used for levels of the polygons. |
| {Level} | A Double indicating the level for all input polygons (optional). |
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, "PolygonCutFillTin", "input dataset", "output dataset", "reference tin", "level field", "level"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "PolygonCutFillTin" "input dataset" "output dataset" "reference tin" "level field" "level" |
| .NET using ETSOutX.dll | PolygonCutFillTin(input dataset, output dataset, reference tin, level field, level) |
| ArcPy | arcpy.PolygonCutFillTin("input dataset", "output dataset", "reference tin", "level field", "level") |
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.