Plain AutoCAD has no command to open or import the geospatial vector data format shapefile.
The geospatial vector data format shapefile consists of a collection of files (*.shp, *.shx, *.dbf and other).
Beware of confusion: AutoCAD uses *.shp files for custom symbols. These *.shp files are also called shapefiles but are not the same as the geospatial vector data format shapefile. The AutoCAD command
compile converts the *.shp to a *.shx file. But this *.shx file is used for custom symbols.
What other options are there?
- AutoCAD Map 3D and AutoCAD Civil 3D are able to open or import the geospatial vector data format shapefile. (The command
mapimport can be used in AutoCAD Map 3D but not in plain AutoCAD)
- The plug-ini Spatialmanager for AutoCAD imports shapefiles into AutoCAD.
- Use another software to convert shapefiles to dxf (e.g. QGIS, FME)