Open Table of Contents

ET GeoWizards Scripting

Split Polyline With Layer

(Go to the main page of the function)

Splits a polyline layer with the features of a Point, Polyline or Polygon layer.

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.SplitPolylineLayer(pInputFeatureClass, _
                        pSplitFeatureClass, sOutFileName, dSearchTol, sMessage)

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

Part Description
variable An IFeatureClass object
pInputFeatureClass Required. An IFeatureClass object (Must be a Polyline feature class)
pSplitFeatureClass Required. An IFeatureClass object 
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 input dataset) to be used. Ignored if the split feature class is of Polyline or Polygon type
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example