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.

  1. Run the application
  2. Click the Load CAD Document button to browse the file system for a CAD dataset with which to work.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

mapbean/CADViewer.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced