Polygon To Polyline

Running programmatically

Converts a polygon data set to a polyline feature class

Inputs:

Outputs:

Notes :

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name PolygonsToPolylines
<input dataset> A String representing the input layer. Must be of Polygon type.
<output dataset> A String - the full name of the output layer.
{Keep Z} A Boolean indicating whether if the input has Z values to keep them in the output.
{Keep M} A Boolean indicating whether if the input has M values to keep them in the output.

Running the function

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, "PolygonsToPolylines", "input dataset", "output dataset", "Keep Z", "Keep M"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "PolygonsToPolylines" "input dataset" "output dataset" "Keep Z" "Keep M"
.NET using ETGWOutX.dll PolygonsToPolylines(input dataset, output dataset, Keep Z, Keep M)
ArcPy arcpy.PolygonsToPolylines(input dataset, output dataset, "Keep Z", "Keep M")

Notes:

(Go to TOP)