Move Shapes

Running programmatically

Moves the features of a feature layer according to user specified translation vector .

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name MoveShapes
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
<Delta X> A Double representing the X component of the translation vector.
<Delta Y> A Double representing the Y component of the translation vector.

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, "MoveShapes", "input dataset", "output dataset", "Delta X", "Delta Y"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "MoveShapes" "input dataset" "output dataset" "Delta X" "Delta Y"
.NET using ETGWOutX.dll MoveShapes(input dataset, output dataset, Delta X, Delta Y)
ArcPy arcpy.MoveShapes(input dataset, output dataset, "Delta X", "Delta Y")

Notes:

(Go to TOP)