Hi,
How do i convert a pdf file (that is exported and shared from a dwg file) to dwg using qcad api or script. I know that qcad allows to open the pdf from the gui. I am interested in writing a script that can be used from command line
I am using windows/linux and on qcad 3.28.1
Thanks,
Arun
pdf to dwg [Solved]
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
pdf to dwg [Solved]
Last edited by arun on Tue Jun 06, 2023 10:17 am, edited 1 time in total.
Re: pdf to dwg
Hi Arun,
https://qcad.org/en/products/qcad-comma ... _/_pdf2dwg
You can already convert a pdf to dwg with the QCAD command-line tool dwg2dwg / pdf2dwg.
https://qcad.org/en/products/qcad-comma ... _/_pdf2dwg
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: pdf to dwg
Oh thanks Husky. should have checked the command line tools better
Re: pdf to dwg
Arun,
forgive me for asking, but wouldn't those back and forth conversions result in significant data loss?
Referring to layers, blocks and so on.
If considered solved then please prefix the title of your first post with [Solved] by editing it.
Regards,
CVH
forgive me for asking, but wouldn't those back and forth conversions result in significant data loss?
Referring to layers, blocks and so on.
If considered solved then please prefix the title of your first post with [Solved] by editing it.
Regards,
CVH
Re: pdf to dwg
CVH, sorry for the late response.
I am yet to test this command line tool. AFAIK, if the conversion is from a vector pdf, there shouldn't be a data loss (i am guessing ).
Will test this out and post results here.
EDIT: You are right. There is a lot of data loss. Any idea if this can be avoided while converting from a pdf?
Arun
I am yet to test this command line tool. AFAIK, if the conversion is from a vector pdf, there shouldn't be a data loss (i am guessing ).
Will test this out and post results here.
EDIT: You are right. There is a lot of data loss. Any idea if this can be avoided while converting from a pdf?
Arun