DraftSight PDF Import and DWG Export: Clean Geometry Conversion Workflow
A practical guide to importing PDF drawings into DraftSight as editable DWG geometry, handling raster-to-vector conversion issues, and exporting clean DWG files for collaboration with AutoCAD users.

DraftSight PDF Import and DWG Export: Clean Geometry Conversion Workflow
PDF is the most common format for sharing CAD drawings outside the engineering team — clients, contractors, and architects all receive PDFs. But when you need to edit a drawing that only exists as a PDF, you need to convert it back to editable DWG geometry. DraftSight includes a PDF import tool that converts PDF vector data into DWG entities. This guide covers the complete workflow from PDF import to clean, editable DWG output.
Understanding PDF Content Types
A PDF file can contain three types of drawing data:
- Vector geometry — lines, arcs, text, and fills stored as mathematical paths. These convert cleanly to DWG entities.
- Raster images — scanned drawings or screenshots embedded as pixel data. These do not convert to vectors; they import as image references.
- Embedded fonts — text stored as Unicode characters with font references. These convert to TEXT or MTEXT entities if the font is available on the system.
Before importing, check the PDF source. If the PDF was generated from a CAD application (via PDF plot or export), it contains vector data and will convert well. If the PDF is a scanned drawing, it contains only raster data and needs OCR/trace conversion, which DraftSight does not do natively.
Importing PDF into DraftSight
Command: PDFIMPORT
- Type
PDFIMPORTor useInsert > PDF Import - Select the PDF file
- Choose the page to import (if multi-page PDF)
- Set import options:
Import Options
- Vector geometry: Check to import lines, arcs, and polylines
- Solid fills: Check to import filled regions as solid hatch entities
- TrueType text: Check to import text as MTEXT entities
- Raster images: Check to import embedded images as image references
- Layers: Choose how to handle PDF layers:
Create layers from PDF layers— preserves the PDF's layer structureUse current drawing layer— all imported entities go on the current layerCreate separate layer for each PDF page— useful for multi-page imports
Scale and Rotation
- Insertion point: Specify 0,0 for the origin, or click on screen
- Scale: Set to 1:1 if the PDF was plotted at 1:1 scale; otherwise, calculate the scale factor
- Rotation: 0 for standard orientation
Post-Import Cleanup
After import, the geometry will need cleanup. Common issues:
Line Segment Fragmentation
PDF vector paths often import as many short line segments rather than continuous polylines. To fix:
- Select all imported lines on a layer
- Use
PEDIT>Multiple>Jointo connect segments - Set a join tolerance of 0.01mm to connect segments with small gaps
- Repeat for each layer
Text Height Mismatches
PDF text may import at incorrect heights due to font substitution. To fix:
- Select all imported text entities
- Open the Properties panel
- Check the actual text height against the expected height
- Calculate the ratio and use
SCALEwith a reference to correct all text at once
Layer Color Mapping
PDF colors do not always map to standard CAD colors. After import:
- Open the Layer Manager
- Assign standard colors to each layer (1=red, 2=yellow, 3=green, 4=cyan, 5=blue, 6=magenta, 7=white/black)
- Set layer-specific linetypes (Continuous, Hidden, Center, etc.)
Handling Scanned PDFs (Raster Only)
If the PDF is a scanned drawing with no vector data, DraftSight cannot convert it to DWG geometry natively. Options:
Option 1: Manual Tracing
- Import the PDF as a raster image reference using
IMAGEATTACH - Set the image layer to a light gray color for easy tracing
- Lock the image layer to prevent accidental movement
- Trace over the geometry on new layers using standard drafting commands
- Delete or freeze the image layer when tracing is complete
Option 2: External Raster-to-Vector Conversion
Use a dedicated raster-to-vector tool (such as AutoTrace, WinTopo, or Scan2CAD) to convert the scanned PDF to DXF, then import the DXF into DraftSight using DXFIN.
Exporting Clean DWG Files
When sharing DraftSight drawings with AutoCAD users, follow these steps to ensure clean, compatible DWG output:
Step 1: Purge Unused Objects
Run PURGE and remove:
- Unused blocks
- Unused layers
- Unused linetypes
- Unused text styles
- Unused dimension styles
Step 2: Audit
Run AUDIT with Y (fix errors) to repair any drawing database issues.
Step 3: Set DWG Save Format
Type DWGFORMAT and set to 2018 (maximum compatibility with current AutoCAD versions).
Step 4: Remove DraftSight-Specific Data
DraftSight adds custom data to DWG files that AutoCAD does not recognize. While this data does not cause errors, it increases file size. To minimize:
- Avoid using DraftSight-specific features (e.g., DraftSight-specific constraint types)
- Use
WBLOCKto write the drawing to a new file — this strips some custom data - In AutoCAD, run
PURGEagain to remove any remaining unrecognized data
Step 5: Verify in AutoCAD
If possible, open the exported DWG in AutoCAD and verify:
- All geometry displays correctly
- Text styles and fonts render properly
- Dimension styles are intact
- Layouts and viewports are preserved
- No "Missing References" warnings appear
Batch PDF Import
For importing multiple PDF files:
- Create a LISP script that loops through PDF files in a folder:
(defun c:BatchPDFImport ( / pdfdir pdffiles filename)
(setq pdfdir (getstring "\nPDF folder path: "))
(setq pdffiles (vl-directory-files pdfdir "*.pdf" 1))
(foreach filename pdffiles
(command "_.-PDFIMPORT" (strcat pdfdir "\\" filename) "")
(princ (strcat "\nImported: " filename))
)
(princ "\nBatch import complete.")
(princ)
)
- After import, run cleanup operations (PEDIT join, layer assignment, text height correction) on each drawing
Common PDF Import Issues
Issue: Geometry Imports as Zero-Length Lines
Cause: The PDF contains extremely short vector segments (common in PDFs generated from low-resolution sources).
Fix: Use QSELECT to select all lines with length < 0.01mm, then delete them. Run OVERKILL to remove any remaining duplicates.
Issue: Text Imports as Geometry (Outlines)
Cause: The PDF was generated with text "curves" option (text converted to vector outlines before PDF creation).
Fix: This text cannot be converted back to editable text entities. You must delete the outlined text and retype it using TEXT or MTEXT.
Issue: Hatches Import as Individual Lines
Cause: The PDF hatch patterns were stored as individual line segments rather than fill regions.
Fix: Select all line segments in the hatch area, use HATCH with the Select Objects option to create a proper hatch entity, then delete the original lines.
Issue: Scale Is Wrong After Import
Cause: The PDF was plotted at a non-1:1 scale, and the import scale was set to 1.
Fix: Measure a known dimension on the imported drawing (e.g., a door width should be 900mm). Calculate the correction factor: actual / measured. Select all entities and use SCALE with the correction factor.
Conclusion
PDF import in DraftSight is a practical tool for converting vector PDFs back to editable DWG geometry. The key to success is understanding what the PDF contains (vector vs. raster), using the right import options, and performing thorough post-import cleanup. For DWG export, the process is straightforward — purge, audit, set format, and verify in AutoCAD. By following this workflow, you can maintain clean, compatible drawings that move seamlessly between PDF, DraftSight, and AutoCAD environments.
Source Verification
More Draftsight Guides
workflow
DraftSight 2D Drafting: Layers, Dimension Styles, and Title Block Setup
12 min read
troubleshooting
DraftSight Installation Errors and Activation Failures: Complete Troubleshooting Guide
12 min read
workflow
DraftSight Macro Recording and Batch Printing: Automating Repetitive Tasks
11 min read
comparison
DraftSight vs AutoCAD: Feature Comparison, Command Differences, and Migration Guide
13 min read
Related workflow Guides
Similar workflow content for other CAD tools
Abaqus
•workflow
Abaqus Composite Material Analysis: Laminate Modeling, Damage, and Progressive Failure
12 min read
Abaqus
•workflow
Abaqus Contact Mechanics: General Contact, Friction, and Wear Simulation
12 min read
Abaqus
•workflow
Abaqus/Explicit Dynamic Analysis: Crash, Drop Test, and High-Speed Impact Simulation
13 min read
Abaqus
•workflow
Abaqus Fracture Mechanics: XFEM, Cohesive Zone, and J-Integral for Crack Propagation
12 min read