Split Features Using a Line Task

Created:7/27/2001
Description:

The 'Split Using a Line' task is a custom edit task that splits selected polyline features using the current edit sketch. The features will be split at each point where the edit sketch crosses a feature. The sketch tools will be disabled if the selected set of features contains network features or coverage features when topology is present.



How to use:
  1. Register the dll on your machine.
  2. Use Categories to add 'SplitUsingLineTask' into the 'ESRI Edit Tasks' component category.
  3. Start an edit session: the new task should appear in the edit task drop down.
  4. Select the 'Split Features Using a Line' task.
  5. Select at least one polyline feature.
  6. Create an edit sketch that crosses some or all of the selected features. The selected features will be split where the edit sketch crosses them.

Application:
ArcMap

Requires: An edit session.

Difficulty: Intermediate


Visual Basic
File Description
SplitUsingLineTask.cls VB class file containing the IEditTask implementation.
SplitTask.vbp The project file for custom task.
SplitTask.dll The compiled project.


Key CoClasses: Editor
Key Interfaces: IEditTask, IEditEvents, IPolyCurve, IRelationalOperator, ITopologicalOperator, IZ, IZAware
Key Members: IPolyCurve::SplitAtPoints, ITopologicalOperator::Intersect, IZ::InterpolateZsBetween