Last active
August 24, 2021 14:55
-
-
Save erfg12/cb7d7c5ddc9b60d406f6ebbb09253dc7 to your computer and use it in GitHub Desktop.
AutoCAD script file to convert DXF or DWG files to PDF. Run with accoreconsole.exe in AutoCAD directory. Works with AutoCAD LT.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; C:\Program Files\Autodesk\AutoCAD LT 2021\accoreconsole.exe /i "FILE_PATH_HERE\test.dwg" /s "FILE_PATH_HERE\plotPDF.scr" | |
; This example script file expects there to be a `Layout1` layout for each file. | |
_PLOT | |
_Y | |
Layout1 | |
DWG To PDF.pc3 | |
ANSI full bleed A (8.50 x 11.00 Inches) | |
_Inches | |
_Landscape | |
_No | |
_Extents | |
_Fit | |
0,0 | |
_Yes | |
. | |
_Yes | |
_N | |
_N | |
_Y | |
PDF_FILE_NAME_HERE | |
_N | |
_Y | |
_QUIT _Yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment