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.
- Open and compile the project in Visual Studio.
- Start ArcMap and load a line feature class containing features that approximate curves.
- Click the Customize menu and click Add-In Manager. The Add-In Manager dialog box appears.
- Make sure that there is a CurveConversion add-in available.
- Click Customize. The Customize dialog box appears.
- If the add-in was not on the Add-In Manager dialog box, browse to the location of the add-in and select the .esriAddIn file located in the projects bin\Debug folder.
- Under the Commands tab on the Customize dialog box, select the Add-In Controls category, select the Curve Conversion command, then drag it onto a toolbar.
- Close the Customize dialog box.
- Start an edit session and select one or more polyline features. The polyline features you select should approximate curves (that is, import them from a coordinate geometry [COGO] coverage).
- Click the Curve Conversion command and complete the dialog box that opens. The tolerance and update field are optional parameters.
- Click OK. A progress bar appears at the bottom left of your ArcMap session.
Additional information
When dealing with features in a topology, the CurveConversion command can run faster if you build the topology cache for the area, including your selected features first. This is the quickest way to run the tool if a large percentage of your features are curves. If you only have a small number of curves, it might be quicker to allow the command to calculate the cache for each feature as it progresses. To determine which features were updated during the conversion, provide a field to be updated. The field you select will have its value calculated when a feature's geometry is updated with a curve.
CurveConversionCmd.cs | Code file containing the command to open the dockable window. |
CurveConversionDockWin.cs | Code file containing the implementation of the dockable window. |
CurveConversionCmd.vb | Code file containing the command to open the dockable window. |
CurveConversionDockWin.vb | Code file containing the implementation of the dockable window. |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
ArcView | ArcView |
ArcEditor | ArcEditor |
ArcInfo | ArcInfo |