Splits the features of a polyline layer.
Before Split

Split in all Vertices

Split in equal segments

Exact length + remainder

| Expression | Explanation | 
|---|---|
| Function Name | SplitPolylines | 
| <input dataset> | A String representing the input layer. Must be of Polyline type. | 
| <output dataset> | A String - the full name of the output layer. | 
| <Split Option> |  Required. A String valid values:
        
  | 
    
| {Split Tolerance} |  A Number which value depending on the option defines: 
      	  
  | 
    
| {Update Rules} | A String representing a list (separator ";") of fields and update rule for each field. Example: "Field1 AddressRange Field2; Field3 Copy; Field4 Proportion" | 
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
| Language | Syntax | 
|---|---|
| Python | subprocess.call([ETGWPath, "SplitPolylines", "input dataset", "output dataset", "Split Option", "Split Tolerance", "Update Rules"]) | 
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "SplitPolylines" "input dataset" "output dataset" "Split Option" "Split Tolerance" "Update Rules"  | 
    
| .NET using ETGWOutX.dll | SplitPolylines(input dataset, output dataset, Split Option, Split Tolerance", Update Rules) | 
| ArcPy | arcpy.SplitPolylines(input dataset, output dataset, "Split Option" , "Split Tolerance", "Update Rules") | 
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.