Open Table of Contents

ET GeoWizards Scripting

Perpendiculars_PointsToPolylines
(Go to the main page of the function)

Draws a perpendicular polyline from each point to the closest polyline from the reference layer and calculates several attributes for each perpendicular line.

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.Perpendiculars_PointsToPolylines(pInFeatureClass, pReferenceFeatureClass, _
                                                        sOutFileName, dSearchTol, sMessage)

The Perpendiculars_PointsToPolylines 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)
pReferenceFeatureClass Required. An IFeatureClass object (Must be a Polyline 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)
dSearchTol Required. A Double representing  the Search tolerance (in the units of the spatial reference of the input point feature class) to be used
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example