Retaining Original AutoCAD Layers from PDF

Retaining Original AutoCAD Layers from PDF

wkeirstead
Explorer Explorer
5,389 Views
4 Replies
Message 1 of 5

Retaining Original AutoCAD Layers from PDF

wkeirstead
Explorer
Explorer

I have a question about importing a PDF (originally a .dwg) into AutoCAD. Our client does not have access to a CAD format project drawing and I was wondering if there is a way to revive/retain the original drawings layers and properties when importing the PDF back into AutoCAD. Currently the layers are all appearing correctly but they are all just PDF geometry layers that were created upon import. 

 

Thanks in advance,

5,390 Views
4 Replies
Replies (4)
Message 2 of 5

DartGTDan-2018
Enthusiast
Enthusiast

I'd like to know if this is possible as well.

Message 3 of 5

JRitner
Advocate
Advocate

Have you tried PDFIMPORT? I believe that command will convert lines & text to editable entities in a DWG file, assuming the PDF was created from a DWG. I'm not sure how it handles layers, but I imagine if the PDF retains the original layer info, that would be carried through on the DWG.

 

Hope that helps. Good luck!


Joel Ritner
C3D Certified Professional
BIM/Systems Manager
Najarian Associates, NJ
0 Likes
Message 4 of 5

pendean
Community Legend
Community Legend
@wkeirstead @DartGTDan-2018 you can only retrieve what is already in the PDF: does your PDF contain layers you can toggle on/off? PDFIMPORT tried to guess but 90% of the time you'll not find the results useful.

HTH
0 Likes
Message 5 of 5

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

if the creator of the PDF had the setting to export layer information active, then you have the first step solved.

You can then start command _PDFIMPORT and inside the import settings you can activate "PDF-Layer" to import the geometry onto these layers.

 

20210604_145632_0001.png

 

But there is a general difference between how PDF is working with layers and how AutoCAD is working with layers.
One sample is a block.

While in AutoCAD a block can have geometry on multiple layers a PDF does not have such a hierarchy like "block" and so you can't get the same structure back from a PDF like the creator of the DWG-file had.

Same is happening for vertical products like AutoCAD Architecture, -Mechanical, MEP, Map3D, Civil3D as these contain custom objects which you never get back as such geometry objects.

 

At least and maybe most important: PDF does not work based on double precision with coordinates, so whatever you exported to a PDF is saved like "pixel coordinates on paper", but not in the same accuracy as inside the DWG-file. A line with length of 1000.001 in the original drawing could result in 999.87 after saving to PDF and then importing the PDF to dwg.

 

Main sentence for this: PDF is not a CAD data exchange format, it was never meant so and I would say it will not be, at least for a long time. To different is the structure.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)