Open Table of Contents

ET GeoWizards Scripting

FeaturesToConvexPolygons
(Go to the main page of the function)

Creates a convex polygon from each feature in the input feature class. Attributes of the original features are transferred to the convex polygons.

Syntax

Dim ET As  New ETGW_Core
Set variable =  ET.
FeaturesToConvexPolygons(pInFeatureClass,  sOutFileName,  sMessage)

The FeaturesToConvexPolygons method syntax has the following object qualifier and arguments:

Part Description
pInFeatureClass Required. An IFeatureClass object ( Polygon, Polyline or Multipoint 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)
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example