Angle Angle shape constructor


Purpose
This sample demonstrates how to create a shape constructor. The angle-angle shape constructor adds points to the edit sketch based on the input of two point locations and two angles. An angle intersection is constructed based on these inputs. If a new point is not calculated, a message dialog box appears indicating this.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Compile and register the .dll.
  2. Start ArcMap and load some data.
  3. Customize ArcMap and add the shape constructor to the Editor toolbar.
  4. Select a feature template and a construction tool.
  5. Click the Angle-Angle shape constructor. Add three mouse points to view the next edit segment.

AngleAngleCmd.cs Command component for constructor.
AngleAngleCstr.cs Implementation component for constructor.
Download the C# files
AngleAngleCmd.vb Command component for constructor.
AngleAngleCstr.vb Implementation component for constructor.
Download the VB.NET files

Download the files for all languages




Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced