Builds polygon layer from a polyline layer
Source Polyline Layer

Result Polygon Layer

Parameters
| Expression | Explanation |
|---|---|
| Function Name | BuildPolygons |
| <input dataset> | A String representing the input layer. Must be of Polyline type. |
| <output dataset> | A String - the full name of the output layer. |
| <Fuzzy Tolerance> | A Double representing the Fuzzy tolerance (in the units of the input dataset) to be used to resolve intersections. |
| {Label Points} | A point layer to be used as a source for the polygon attributes. |
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, "BuildPolygons", "input dataset", "output dataset", "Fuzzy Tolerance", "Label Points"]) |
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "BuildPolygons" "input dataset" "output dataset" "Fuzzy Tolerance" "Label Points" |
| .NET using ETGWOutX.dll | BuildPolygons(input dataset, output dataset, Fuzzy Tolerance, Label Points) |
| ArcPy | arcpy.BuildPolygons(input dataset, output dataset, "Fuzzy Tolerance", "Label Points") |
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.