ET GeoWizards Scripting
Point Grid Extents
(Go to the main page of the function)
Creates a grid of points using grid extents and distance between the points.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PointGridExtents (sOutFname, pEnvelope, pOutSref,
sOption, _
dCellSizeX,
dCellSizeY, sMessage)
The PointGridExtents method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| pEnvelope | Required. An Envelope object - defines the extent of the point grid to be created. |
| pOutSref | Required. A Spatial reference object - the spatial reference for the output feature class. |
| sOption | Required. A String that indicates the type of the point grid to be created. Valid values - "Triangle", "Rectangle", "Square". Any other value will be treated as "Square" |
| dCellSizeX | Required. A Double representing the distance between the points in the output grid in X direction |
| dCellSizeY | Required. A Double representing the distance between the points in the output grid in Y direction |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |