Multi Displacement Links Task


The 'Multiple Displacement Links' task is a custom edit task that creates multiple displacement links between two edit sketches. This is similar to the Multi Displacement Links Tool on Spatial Adjustment Toolbar, but allows you to create links spanning multiple features and segments. For example, use this task to create links between polygons that have many segments.

Use the Sketch Trace tool to create an edit sketch over a selected feature's segments.

How to use:
  1. Register the dll on your machine.
  2. Use Categories to add the dll to 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 'Multiple Displacement Links' task.
  5. Create source and target sketches using the sketch construction tools (eg. Trace tool).
  6. After creating the target sketch, enter the number of links to create, in the pop up dialog.


Minimum ArcGIS Version Required: 8.2

Difficulty: Beginner

Visual Basic
File Description
clsMultiDisplacmentLinks.cls Tool used to create multiple displacement links
clsEnumElement2.cls Required to augment the Operation Stack using IElementOperation
MultiDisplacementLinksPrj.vbp The project file for the Multi Displacement Link tool.
MultiDisplacementLinksPrj.dll The compiled project.

Key CoClasses: DisplacementLinkElement, Adjustment
Key Interfaces: IEditSketch, IEditTask, IDisplacementLinkElement
Key Members: IEditSketch::Geometry, IEditTask:: OnFinishSketch