CAD viewer


Purpose
This sample provides a stand-alone application containing a Map control that can be used to view computer-aided design (CAD) data. When compiled, the application can be associated with the most common CAD file name extensions (DXF, DWG, and DNG) so that this can be the default application for opening files of these types. When opened, the application allows you to view the data, including the ability to zoom and pan.

How to use

See How to use ArcGIS samples for help on 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. Run the application
  2. Click the Load CAD Document button to browse the file system for a CAD dataset with which to work.


Download the files for Java
mapbean/CADViewer.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView
ArcEditor
ArcInfo