Rotate Shapes

Running programmatically

Rotates the features of a feature layer around user specified rotation point and rotation angle .

Inputs:

Outputs:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name RotateShapes
<input dataset> A String representing the input layer.
<output dataset> A String - the full name of the output layer.
<Rotation Angle> A Double representing the rotation angle.
{Reference Dataset} A String representing the input layer. Must be of Point type. The first point of this dataset will be used as origin point.
{Origin X} A Double representing the X coordinate of the origin point.
{Origin Y} A Double representing the Y coordinate of the origin point.

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, "RotateShapes", "input dataset", "output dataset", "Rotation Angle", "Reference Dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "RotateShapes" "input dataset" "output dataset" "Rotation Angle" "Reference Dataset"
.NET using ETGWOutX.dll RotateShapes(input dataset, output dataset, Rotation Angle, Reference Dataset)
ArcPy arcpy.RotateShapes(input dataset, output dataset, "Rotation Angle", "Reference Dataset")

Notes:

(Go to TOP)