ET GeoWizards Scripting
Spider Diagram
(Go to the main page of the function)
Creates a polyline feature class representing the shortest distance between centers (point dataset) and Destinations (Point, Polyline or Polygon datasets). The Destinations are allocated to the closest Center.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.SpiderDiagram(pCentersFeatureClass,
pDestinationsFeatureClass, _
sOutFileName, dCutOffDistance, pOutSef,
sMessage)
The PointDistance method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pCentersFeatureClass | Required. An IFeatureClass object (Must be a point feature class) |
| pDestinationsFeatureClass | Required. An IFeatureClass object (Point, Polyline or Polygon 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) |
| dCutOffDistance | Required. A Double representing the maximum distance between a Center and a Destination to be used. Destinations that a further than this distance from any Center will not be assigned to a Center |
| pOutSef | Required. A Spatial reference object which distance unit will be used for calculation. |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |