Open Table of Contents

ET GeoWizards Toolbox

Vector Grid Origin
(Go to the main page of the function)

Creates a vector grid (Polyline or Polygon) using origin point, number of columns and rows, X and Y cell size.

Command line syntax

ET_GPPointGridOrigin <out_feature_class> {out_spatial_reference} <grid_type> <X_origin> <Y_origin> <Number_columns> <Number_rows> <X_Cell_Size> <Y_Cell_Size>

Parameters

Expression Explanation
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
{out_spatial_reference} The spatial reference of the output feature class. If not specified the output will be created with Unknown coordinate system
<grid_type> A String controlling the shape type of the output point grid. Valid values "Polygon", "Polyline"
<X_origin> A Double representing the X coordinate of the lower left corner of the grid.
<Y_origin> A Double representing the Y coordinate of the lower left corner of the grid.
<Number_Columns> A Long representing the number of columns that the resulting grid will have
<Number_Rows> A Long representing the number of rows  that the resulting grid will have
<X_Cell_Size> A Double representing the size of the call in X direction
<Y_Cell_Size> A Double representing the size of the call in Y direction.

Scripting syntax

ET_GPPointGridOrigin (out_feature_ class out_spatial_reference grid_type X_origin Y_origin Number_Columns Number_Rows X_Cell_Size Y_Cell_Size)

See the explanations above:
<> - required parameter
{} - optional parameter