Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CSharp
VBNet
ReadMe.xml
Readme.html
Readme.md

Readme.md

Buffer snap agent

This sample demonstrates how to create a snapping agent based on a buffer around the points of the current editable point feature class. In this sample, a snapped vertex of a feature is located no closer than 1000 map units from the point that is closest to the cursor. For electrical datasets, it is common to want to snap primary lines to the boundary of the symbol representing a pole. Use this snapping agent with an appropriate buffer distance (based on the radius of the pole symbol).
Language:              C#, VB
Subject:               Controls
Organization:          Esri, http://www.esri.com
Date:                  11/17/2017
ArcObjects SDK:        10.6
Visual Studio:         2015, 2017
.NET Target Framework: 4.5

Resources

Usage

  1. Open and build the solution to register the BufferSnap class in the ESRI Engine Snap Agents component category.
  2. Run the solution.
  3. Start editing.
  4. Zoom in on some point features to a 1:30000 map scale.
  5. Open the Snapping Environment dialog box and turn on the Buffer Snap agent.
  6. Begin adding new features to snap to buffers (1000 map units) around the point features in the specified feature class.

Licensing

Development licensing Deployment licensing
Engine Developer Kit ArcGIS Desktop Basic
ArcGIS Desktop Standard
ArcGIS Desktop Advanced
Engine
You can’t perform that action at this time.