ET GeoWizards Scripting
Point To PolygonZM
(Go to the main page of the
function)
Converts a point data set to a polygonZ or polygonM feature class.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PointToPolygonZM(pInFeatureClass, sOutFileName, _
sIdFieldName, bUseOrder, sOrderFieldName, _
sZFieldName, sZTyp, sMessage)
The PointToPolygonZM 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) |
| sIdFieldName | Required. A String - the name (Case sensitive) of the field which values will indicate the points used to form a single polygon. |
| bUseOrder | Required. A Boolean indicating whether the order in which the points describe the polygon will be taken from a field in the attribute table |
| sOrderFieldName | Required. A String - the name (Case sensitive) of a Numeric (integer or double) field which values will indicate the order in which the points describe the polygons. This is ignored (can be set to any string) if bUseOrder = False |
| sZFieldName | Required. A String - the name (Case sensitive) of a Numeric (integer or double) field which values will be used for assigning Z(M) values to the vertices of the output polygons |
| sZTyp | Required. A String - indicates the type of the
output polygons. 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. |