Produces a new polygon layer with only triangular polygons. Each polygon from the input layer is represented as a set of triangles. If the input does not have overlapping polygons, the output will not have overlapping triangles.
Input Layer

Result

Parameters
| Expression | Explanation |
|---|---|
| Function Name | TriangulatePolygons |
| <input dataset> | A String representing the input layer. Must be of Polygon type. |
| <output dataset> | A String - the full name of the output layer. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETGWPath, "TriangulatePolygons", "input dataset", "output dataset"]) |
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "TriangulatePolygons" "input dataset" "output dataset" |
| .NET using ETGWOutX.dll | TriangulatePolygons(input dataset, output dataset) |
| ArcPy | arcpy.TriangulatePolygons(input dataset, "output dataset") |
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.