Jump to content
CadYouDigIt

Importing PDF files into Cad

Recommended Posts

CadYouDigIt

Recently I have been importing the pdfs we get from clients and attaching them as an image into autocad, and then having to go through the trouble of tracing out each line.

 

I am curious if there is a way to already have the lines drawn out? This would save me a lot of time!

 

Thanks!

Share this post


Link to post
Share on other sites
ReMark

It sounds like you are looking for a PDF to DWG conversion program or something similar. Is that correct?

 

One option is to use a free vector program such as Inkscape to import vector PDF's then save them as a DXF. I think something similar can be done using Adobe Illustrator. AutoCAD 2018 has the PDFIMPORT command whereby the user can import PDF data as 2D geometry and it will also import TrueType text and images.

Share this post


Link to post
Share on other sites
tzframpton
AutoCAD 2018 has the PDFIMPORT command whereby the user can import PDF data as 2D geometry and it will also import TrueType text and images.
I second this information. If your company has access to AutoCAD 2017 full version, you can do this entirely through AutoCAD if the PDF is in vector form. It works very well. Granted, it's not perfect, but certainly does the job for most needs.

 

-TZ

Share this post


Link to post
Share on other sites
f700es

One point on the AutoCAD PDFIMPORT, the PDF has to be a true vector PDF and not a scanned PDF. But 3rd motion for this great tool now included in AutoCAD.

Share this post


Link to post
Share on other sites
CadYouDigIt

Most of our pdfs do come in true vector PDFs.. most of the time. So I guess I will have to try this command on our other computers! Thanks a bunch guys!

Share this post


Link to post
Share on other sites
tomas1122

My first post, I hope i dont bump the wrong thread.

 

As to the above i belive the pdfimport command gives good better results compard to the paid softwares around, atleast when it comes to engineering drawings.

Pdf s with lots of ills tend to be problematic, use incscape for those, or even better adobe illustrator if you have the budget.

 

 

A follow up question on pdfimport command: I would like to build the (command "-PDFIMPORT" ...) into a lisp to batch it, for all pages within a pdf document

Does someone have an insight in that? i have tried:

 

(Command "-PDFIMPORT" strFilename 1 300,0 1.0 0)

but it dosnt accept my filename string

Share this post


Link to post
Share on other sites
BIGAL

Have not tried yet but no idea how you would determine number of pages with Pdfattach maybe just do import 1-99. Maybe use a on-error to stop loading.

Share this post


Link to post
Share on other sites
bradmh

Did you ever find a way to get this working? I am trying to write a command to bulk convert vectorized pdfs back to cad files (new file import pdf at default coordinates and scale, save and close) for all files in a folder, but having an issue bringing in the files without the dialog box appearing - FILEDIA already set to 0.

Share this post


Link to post
Share on other sites
Oscar

great question. I am also tracing over pdf's at my job right now.

Share this post


Link to post
Share on other sites
BIGAL

Need to look at what the command is asking when using -pdfimport this works without dialouge appearing can be used in a script etc.

 

(Command "-PDFIMPORT" "f" strFilename 1 300,0 1.0 0)

 

Share this post


Link to post
Share on other sites
addysmith97

Well, I am not sure but you can try the Import PDF command. In this command, If you want to add PDF as an attachment it converts into DWG components or PDF file can be imported directly into the drawing file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×