ET GeoWizards Scripting
Points To Rectangles
(Go to the main page of the
function)
Creates rectangles from points in a point dataset and user defined width,
height rotation angle and location of the point.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PointsToRectangles(pInFeatureClass, sOutFileName, _
sWField, sHField, sAField, sLocation, sMessage)
The PointsToPieSegments method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Point feature class) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| sWField | Required. A String representing the name of a field in the in the attribute table of the input dataset field name. The field has the values for the width of the rectangles to be created. |
| sHField | Required. A String representing the name of a field in the in the attribute table of the input dataset field name. The field has the values for the height of the rectangles to be created. |
| sAField | Required. A String representing the name of a field in the in the attribute table of the input dataset field name. The field has the values for the rotation angle of the rectangles to be created. The angle should be in Decimal Degrees and have Polar orientation - East = 0, anti-clockwise. |
| sLocation | Required. A String - This
parameter defines what will be the location of the resulting rectangles
in relation to the original points.. The available options are (Case
sensitive):
|
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |