DEV Community

Akbar Zubairi
Akbar Zubairi

Posted on

PDF to AutoCAD: A Practical Checklist Before You Convert a Floor Plan

Someone sends you a floor plan as a PDF and asks for "the AutoCAD file." It might be a scan of an old paper plan, an export from another office, or a phone photo saved as a PDF. Before you spend an afternoon on it, it is worth ten minutes to figure out what kind of PDF you actually have, because that decides whether you can import it, trace it, or should just redraw it.

This is the checklist I run through before turning a PDF floor plan into a working AutoCAD drawing.

1. Find out whether the PDF is vector or raster

This is the single most important question, and you can answer it in under a minute.

  • Vector PDF: exported from CAD or a drawing program. When you zoom in a long way, lines stay sharp. In a PDF viewer you can often select text.
  • Raster PDF: a scan or a photo wrapped in a PDF. Zoom in and lines get fuzzy or pixelated. Text cannot be selected (unless the scanner ran OCR, which does not help you in CAD).
  • Mixed: a vector title block with a scanned plan pasted in, or markups on top of a scan. More common than you would think.

A quick test inside AutoCAD: attach the PDF as an underlay (PDFATTACH) and hover over the lines. If you can snap to endpoints on the plan, there is vector data. If only the frame snaps, it is an image.

2. If it is vector: import, then check everything

Recent versions of AutoCAD (2017 and later) have PDFIMPORT, which turns PDF vector geometry into AutoCAD objects. It works, but "imported" is not the same as "usable." After an import, check these:

  • Scale. Measure a dimension you trust, ideally a long one such as an overall exterior wall. If the plan says 30'-0" and DIST says 7.5", the drawing came in at plot scale (here 1/4" = 1'-0"). Fix it with SCALE using the Reference option: pick the two ends of that wall, type the current length, then type the real length. Check a second dimension in the other direction afterwards. If the two do not agree, the PDF was stretched somewhere along the way, and you should treat it as a raster job.
  • Line segments. Walls often arrive as many short lines instead of one. OVERKILL removes duplicates and overlaps, and PEDIT with the Join option (or JOIN) can merge segments, but on a busy plan this cleanup takes real time.
  • Text. Depending on how the PDF was made, text may come in as real text, as geometry outlines, or as SHX-style strokes. AutoCAD has tools to recognize SHX text (PDFSHXTEXT) and to combine text (TXT2MTXT), but expect to check every room name and note by eye.
  • Layers. PDF layers, if any, rarely match your office standard. Plan to move walls, doors, windows, text, and dimensions onto your own layers.
  • Hatches and fills. These often explode into hundreds of small objects. Deleting them and re-hatching is usually faster than repairing them.
  • Dimensions. Imported dimensions are just lines and text. They will not update when you stretch a wall. If you need live dimensions, you will be adding them again.

If you get through this list and the file is clean, great. On a simple vector sheet, import plus cleanup can be the fastest route.

3. If it is raster: you are tracing, so set it up properly

There is no reliable way to turn a scan into clean, accurate CAD geometry with one button. Raster-to-vector tools exist, but on a real floor plan scan they tend to produce wobbly lines, broken walls, and text turned into shapes. On most plans you end up redrawing over the image anyway.

To trace well:

  1. Attach, do not import. Bring the scan in as an underlay or image reference and put it on its own layer, so you can fade it, lock it, and turn it off later.
  2. Straighten it. Scans are almost never square to the page. Use ALIGN (or ROTATE with the Reference option) on a long straight wall to get the image level.
  3. Scale it from a known dimension, the same way as above, using SCALE with Reference. Then check a second dimension in the other direction. Photocopies and phone photos are often stretched more one way than the other, and a plan that is right horizontally can be off vertically.
  4. Trust the written numbers over the picture. When the image and the written dimension disagree, draw to the number. The image is a guide for where things go; the dimensions are what the plan actually says.
  5. Draw walls as real geometry. Draw them at their true thickness on a wall layer, with openings placed from the dimensions, not eyeballed from the scan.

4. Decide what "done" means before you start

A lot of wasted time comes from not agreeing on the deliverable. Ask (or decide) up front:

  • Which AutoCAD version does the file need to open in? You can save down to older DWG formats, but someone on an old release will not be able to open a newer file.
  • What layers are expected? A contractor laying out plumbing needs a clean base plan more than detailed annotation.
  • Do dimensions need to be live? If yes, budget time for re-dimensioning.
  • What happens when the numbers do not add up? On older plans the room dimensions sometimes do not total the overall dimension. Decide whether you will flag it and ask, or draw it as shown. Quietly "fixing" a plan to make it close is how errors end up in the field.

5. Know when redrawing is faster than converting

Converting feels like it should be quicker than drawing from scratch, but on many real-world files it is not. Redraw instead when:

  • The PDF is a scan, a fax, or a phone photo.
  • Import produces thousands of tiny segments and exploded hatches.
  • The scale checks disagree between directions.
  • Text came in as outlines you would have to retype anyway.
  • You need a clean, layered file that people will keep editing for years.

Cleaning up a bad import can take longer than a careful redraw, and still leave hidden problems: overlapping lines, objects off by a fraction of an inch, and text that will not edit.

A note on what a PDF can and cannot tell you

A PDF, even a perfect vector one, only shows what someone drew, not whether the building matches. If the plan is old or the work depends on exact sizes, field-verify the key dimensions before relying on the CAD file.

If you would rather hand it off

I run DWG Desk, a small drafting service in New Haven, CT, that redraws dimensioned PDFs, scans, and marked sketches as layered AutoCAD DWG files, with a PDF copy. We redraw from the measurements on the sheet rather than running it through a converter, and we ask when a number is missing instead of guessing. There is a longer write-up of how that works on the PDF to DWG page, and you can download free sample DWG files to see the kind of layered drawing we produce. They are practice drawings, not client work.

Either way, run the vector-or-raster check first. It takes a minute and tells you which of these paths you are on.

Top comments (0)