Shape To ShapeZ

Running programmatically

Converts the features of a data set to 3D features with constant Z value

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ShapeToShapeZ
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
{Z Field} A String - the name of the field which values will be used for Z values of the vertices. "Features" can be used if the input points have Z.
{Add M} A Boolean indicating whether to add M values to 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, "ShapeToShapeZ", "input dataset", "output dataset", "Z Field", "Add M"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "ShapeToShapeZ" "input dataset" "output dataset" "Z Field" "Add M"
.NET using ETGWOutX.dll ShapeToShapeZ(input dataset, output dataset, Z Field, Add M)
ArcPy arcpy.ShapeToShapeZ(input dataset, output dataset, Z Field, Add M)

Notes:

(Go to TOP)