Command Line Usage

Convert a single file

pdf_dwg.exe /InFile source-pdf-file-name /OutFile destination-dwg/dxf-file-name

Parameters:
/InFile          Input file name, e.g. D:\PDFs\Building.pdf
/OutFile        Output file name, e.g. E:\DWGs\Building.dwg

Example: Convert sample.pdf to sample.dwg
pdf_dwg.exe /InFile D:\sample.pdf /OutFile E:\sample.dwg

Convert a folder

pdf_dwg.exe /InFolder source-folder /OutFolder destination-folder [/ConvertType conversion-type] [/IncSubFolder]

Parameters:
/InFolder          Input folder name, e.g. D:\PDFs
/OutFolder        Output folder name, e.g. E:\DWGs
/ConvertType   Conversion type, optional parameter, available values: PDF2DWG, PDF2DXF, default is PDF2DWG.
                          /ConvertType PDF2DWG        Convert PDF to DWG
                          /ConvertType PDF2DXF         Convert PDF to DXF
/IncSubFolder   Include subdirectories, optional parameter.

Example: Convert all pdf files to dwg files
pdf_dwg.exe /InFolder D:\PDFs\ /OutFolder E:\DWGs\

Other Optional Parameters (not required)

/Hide Hide the result window and the message dialog.
/OutVer Set the output DWG/DXF file version, available values:
acad2013, acad2010, acad2007, acad2004, acad2000, acad14, acad13, acad12, acad10, acad9, acad26, and acad25.
Default is acad2000.

For example: /OutVer acad2000
/Scale Set the output scale, it can be set to any integer value from 1 to 10. You can also manually adjust the scale in the CAD.

For example: /Scale 6
/ConvertPage Pages to convert, available values: All, Last, Pages. Default is All.

For example:
* Convert all pages: /ConvertPage All
* Convert the last page: /ConvertPage Last
* Convert the specifically page: /ConvertPage Pages 1, 3, 5-12
* Convert the first page: /ConvertPage Pages 1
/ConvertImage Convert Scanned PDF (Image PDF) to DWG/DXF, available values: Centerline, Outline, Disable. Default is Centerline.

For example:
* Convert the images in the PDF into the DWG/DXF with Outline vector tracing: /ConvertImage Outline
* Don't convert the images in the PDF into the DWG/DXF: /ConvertImage Disable
/PDFPassword Specify the PDF password. If the PDF files are password protected, please use this parameter.

For example: /PDFPassword MyPDFpass
/Overwrite Overwrite the existing DWG/DXF files.

Get Help

pdf_dwg.exe /?

 

 


Copyright (c) 2022 AnyDWG Software, Inc (https://anydwg.com). All Rights Reserved.