<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286073#M4790</link>
    <description>&lt;P&gt;thx for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am plotting from paper space. I did change the Layout tab name (here was a spelling error).&lt;/P&gt;&lt;P&gt;Now the script starts but an error&amp;nbsp; &amp;gt;&amp;gt; unkown command "OPEN".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexander_LindigETKK6_0-1738073828639.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1459958i11826509A1B5907A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexander_LindigETKK6_0-1738073828639.png" alt="Alexander_LindigETKK6_0-1738073828639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 14:20:58 GMT</pubDate>
    <dc:creator>Alexander_LindigETKK6</dc:creator>
    <dc:date>2025-01-28T14:20:58Z</dc:date>
    <item>
      <title>plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283428#M4780</link>
      <description>&lt;P&gt;Dear Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With an older version of ACAD I was able to plot multiple dwg-files (source) to&amp;nbsp;o muliple directories (target) per cmd batchfile. unfortunately I misplaced the batchfiles :-/.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each file was a line in the batchfile to plot it.&lt;/P&gt;&lt;P&gt;The comand looked simplyfied like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; plot source dwg-file to target location pdf-file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Source files and target location are fix values so I do not need dynamic batch files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exemple Directories:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Target&lt;/P&gt;&lt;P&gt;C:\CAD\drawingA.dwg &amp;gt;&amp;gt; X:\CAD-plan\PDF\drawingA.pdf&lt;/P&gt;&lt;P&gt;C:\CAD\drawingB.dwg &amp;gt;&amp;gt; Y:\Floorplan\PDF\drawingB.pdf&lt;/P&gt;&lt;P&gt;C:\CAD\drawingC.dwg&amp;nbsp; &amp;gt;&amp;gt; Z:\extern\PDF\drawingC.dwg &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Batch Plot in ACAD doesn't seem the right solutions in this case.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 09:46:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283428#M4780</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-27T09:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283785#M4781</link>
      <description>&lt;P&gt;That's never been a built-in AutoCAD ability: you previously used a custom LISP or 3rd party add-on.&lt;/P&gt;&lt;P&gt;Do you still have access to your old setup?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 13:43:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283785#M4781</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-01-27T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283860#M4782</link>
      <description>&lt;P&gt;This can be done, but you will have to use add-ons.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 14:19:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283860#M4782</guid>
      <dc:creator>baksconstructor</dc:creator>
      <dc:date>2025-01-27T14:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283914#M4783</link>
      <description>&lt;P&gt;Hi thx for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, unfortunately not. The old setup is lost. I know for sure it wasn't a 3rd party add-on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was a very plain file. Probably a simple LISP.&amp;nbsp; At least the structure was simple.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 14:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13283914#M4783</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-27T14:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13284195#M4784</link>
      <description>&lt;P&gt;Lots of ways to get this done. Here is one that users coreconsole and a vbs file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a text file called "BatchPrint.vbs" and put the following in it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim fso, inputFile, line, fields, scriptFile, shell
Dim sourceFile, destinationFile, accoreConsolePath, tempScriptPath, scriptContent
Dim scriptDir, csvFilePath

' Initialize objects
Set fso = CreateObject("Scripting.FileSystemObject")
Set shell = CreateObject("WScript.Shell")

' Get the current directory of the VBScript file
scriptDir = fso.GetParentFolderName(WScript.ScriptFullName)
csvFilePath = fso.BuildPath(scriptDir, "Drawings.csv") ' CSV file in the same directory as the VBScript

' Check if the CSV file exists
If Not fso.FileExists(csvFilePath) Then
    WScript.Echo "Error: Drawings.csv not found in the current directory: " &amp;amp; scriptDir
    WScript.Quit
End If

' Open the CSV file
Set inputFile = fso.OpenTextFile(csvFilePath, 1) ' Read-only mode

' Read for accoreconsole.exe path and temporary .scr path
If Not inputFile.AtEndOfStream Then
    line = inputFile.ReadLine 'skip columns line
    line = inputFile.ReadLine
    fields = Split(line, ",")
    accoreConsolePath = fields(2) ' Third column: accoreconsole.exe path
    tempScriptPath = fields(3)    ' Fourth column: temporary .scr path

'WScript.Echo accoreConsolePath

    ' Validate paths
    If Not fso.FileExists(accoreConsolePath) Then
        WScript.Echo "Error: accoreconsole.exe not found at " &amp;amp; accoreConsolePath
        WScript.Quit
    End If
    If Not fso.FolderExists(fso.GetParentFolderName(tempScriptPath)) Then
        WScript.Echo "Error: Folder for temporary script does not exist: " &amp;amp; tempScriptPath
        WScript.Quit
    End If
Else
    WScript.Echo "Error: CSV file is empty or missing required paths."
    WScript.Quit
End If

' Loop through remaining lines 
Do Until inputFile.AtEndOfStream
    line = inputFile.ReadLine
    fields = Split(line, ",")
    sourceFile = fields(0)
    'WScript.Echo sourceFile
    destinationFile = fields(1)

    ' Generate the AutoCAD script content
    scriptContent = "OPEN """ &amp;amp; sourceFile &amp;amp; """" &amp;amp; vbCrLf &amp;amp; _
                    "-PLOT" &amp;amp; vbCrLf &amp;amp; _
                    "Y" &amp;amp; vbCrLf &amp;amp; _
                    "Model" &amp;amp; vbCrLf &amp;amp; _
                    "DWG to PDF.pc3" &amp;amp; vbCrLf &amp;amp; _
                    "ARCH expand D (24.00 x 36.00 Inches)" &amp;amp; vbCrLf &amp;amp; _
                    "Inches" &amp;amp; vbCrLf &amp;amp; _
                    "Landscape" &amp;amp; vbCrLf &amp;amp; _
                    "NO" &amp;amp; vbCrLf &amp;amp; _
                    "EXTENTS" &amp;amp; vbCrLf &amp;amp; _
                    "FIT" &amp;amp; vbCrLf &amp;amp; _
                    "CENTER" &amp;amp; vbCrLf &amp;amp; _
                    "NO" &amp;amp; vbCrLf &amp;amp; _
                    "" &amp;amp; vbCrLf &amp;amp; _
                    "Yes" &amp;amp; vbCrLf &amp;amp; _
                    "" &amp;amp; vbCrLf &amp;amp; _
                    """" &amp;amp; destinationFile &amp;amp; """" &amp;amp; vbCrLf &amp;amp; _
                    "NO" &amp;amp; vbCrLf &amp;amp; _
                    "YES" &amp;amp; vbCrLf &amp;amp; _
                    "CLOSE" &amp;amp; vbCrLf &amp;amp; _
                    "NO"

    ' Write the script to the specified temporary SCR file path
    Set scriptFile = fso.CreateTextFile(tempScriptPath, True)
    scriptFile.WriteLine scriptContent
    scriptFile.Close

    ' Run accoreconsole.exe
    'WScript.Echo """" &amp;amp; accoreConsolePath &amp;amp; """ /s """ &amp;amp; tempScriptPath &amp;amp; """"
    shell.Run """" &amp;amp; accoreConsolePath &amp;amp; """ /s """ &amp;amp; tempScriptPath &amp;amp; """", 1, True

    ' Delete the temporary SCR
    If fso.FileExists(tempScriptPath) Then fso.DeleteFile(tempScriptPath)
Loop

' Close file
inputFile.Close

' Done
WScript.Echo "Done"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download the CVS file and put it in the same directory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TheCADnoob_0-1737996206029.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1459504i015B55C861E456B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TheCADnoob_0-1737996206029.png" alt="TheCADnoob_0-1737996206029.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change the location of your files and path to acccoreconsole. the temp path is just a location where the VBS script creates a temporary AutoCAD .scr file with the specifics to your file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have changed all your paths, close the CSV and then double click the vbs file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:46:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13284195#M4784</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2025-01-27T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13284233#M4785</link>
      <description>&lt;P&gt;You could also write a script file to open and plot each DWG to PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;open
C:\CAD\drawingA.dwg
layout
set
(layout name)
-plot
no



X:\CAD-plan\PDF\drawingA.pdf
n
y
qsave
close
open
C:\CAD\drawingB.dwg
layout
set
(layout name)
-plot
no



Y:\Floorplan\PDF\drawingB.pdf
n
y
qsave
close
open
C:\CAD\drawingC.dwg
layout
set
(layout name)
-plot
no



Z:\extern\PDF\drawingC.dwg
n
y
qsave
close&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 17:09:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13284233#M4785</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2025-01-27T17:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285549#M4786</link>
      <description>&lt;P&gt;Hi thx for the reply. the vbs-file is running without any error. But there is no pdf created.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 10:16:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285549#M4786</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-28T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285554#M4787</link>
      <description>&lt;P&gt;Hi Thx, I tried it but the script isnt running. via batch I run&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\Autodesk\AutoCAD 2025\accoreconsole.exe" /s "Y:\NOVA\CAD\PrintBatch\Code\scripttest.scr" /l en-US&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there is an error message: the loading of the file (script) was canceled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 10:19:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285554#M4787</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-28T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285802#M4788</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14138650"&gt;@Alexander_LindigETKK6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi Thx, I tried it but the script isnt running. via batch I run&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then there is another option:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="33.PNG" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1459896i34273CDFF577DF38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="33.PNG" alt="33.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 12:18:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285802#M4788</guid>
      <dc:creator>baksconstructor</dc:creator>
      <dc:date>2025-01-28T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285811#M4789</link>
      <description>&lt;P&gt;Are you plotting from model space or paper space? If paper space, did you change the layout tab names?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 12:21:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13285811#M4789</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2025-01-28T12:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286073#M4790</link>
      <description>&lt;P&gt;thx for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am plotting from paper space. I did change the Layout tab name (here was a spelling error).&lt;/P&gt;&lt;P&gt;Now the script starts but an error&amp;nbsp; &amp;gt;&amp;gt; unkown command "OPEN".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexander_LindigETKK6_0-1738073828639.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1459958i11826509A1B5907A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexander_LindigETKK6_0-1738073828639.png" alt="Alexander_LindigETKK6_0-1738073828639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 14:20:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286073#M4790</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-28T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286080#M4791</link>
      <description>&lt;P&gt;Hi, thx for the reply. Nice option but, I can't use 3rd party tools :-/.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 14:22:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286080#M4791</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-28T14:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286751#M4792</link>
      <description>&lt;P&gt;Accoreconsole is definitely a very fast method to generate pdfs from dwgs. But there are a number of factors involved including providing the right sequence of commands and since you have different folder requirements to save the pdf you'll need multiple script files (see attached cmd batch file &amp;amp; script files)&lt;/P&gt;&lt;P&gt;PS: To learn more about accoreconsole:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.houseofbim.com/posts/son-of-a-batch-autocad-core-console-through-lisp/" target="_blank"&gt;Son of a Batch! AutoCAD Core Console Through Lisp | House of BIM&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 18:25:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13286751#M4792</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2025-01-28T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290442#M4793</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;thx for the reply. The script stops when it tries to load the *.scr File. Any Idea why the script doesn't load it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx and regards Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexander_LindigETKK6_0-1738239357109.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1460964i476D130304A4DBF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexander_LindigETKK6_0-1738239357109.png" alt="Alexander_LindigETKK6_0-1738239357109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 12:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290442#M4793</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-30T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290657#M4794</link>
      <description>&lt;P&gt;Try this. I tested with your file names and it works. I added Filedia to turn off and on. Don't forget to change the layout names.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;filedia
0
open
C:\CAD\drawingA.dwg
layout
set
(layout name)
-plot
no



X:\CAD-plan\PDF\drawingA.pdf
n
y
qsave
close
open
C:\CAD\drawingB.dwg
layout
set
(layout name)
-plot
no



Y:\Floorplan\PDF\drawingB.pdf
n
y
qsave
close
open
C:\CAD\drawingC.dwg
layout
set
(layout name)
-plot
no



Z:\extern\PDF\drawingC.pdf
n
y
qsave
filedia
1
close&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:57:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290657#M4794</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2025-01-30T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290849#M4795</link>
      <description>&lt;P&gt;Hi, thx for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. the batch file has the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;"C:\Program Files\Autodesk\AutoCAD 2025\accoreconsole.exe" /s "C:\temp\cad\scripttest.scr" /l en-US&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. the scripttest.scr file has the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;filedia&lt;BR /&gt;0&lt;BR /&gt;open&lt;BR /&gt;"C:\temp\cad\20240209_MHD_EG.dwg"&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;layout&lt;BR /&gt;set&lt;BR /&gt;(layout A1_quer_M1-200)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;-plot&lt;BR /&gt;no&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;"C:\temp\cad\pdf\MHD_EG.pdf"&lt;BR /&gt;n&lt;BR /&gt;y&lt;BR /&gt;qsave&lt;BR /&gt;filedia&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;1&lt;BR /&gt;close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. the result when I run the batch file:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;I still get the "unkown command "OPEN"" ("unbekannter Befehl "OPEN"") problem (s. red line)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexander_LindigETKK6_0-1738249166326.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1461047iD49224D9852C1884/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alexander_LindigETKK6_0-1738249166326.png" alt="Alexander_LindigETKK6_0-1738249166326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong? Probably a beginner mistake :-/?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx and Best Regards Alex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:03:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290849#M4795</guid>
      <dc:creator>Alexander_LindigETKK6</dc:creator>
      <dc:date>2025-01-30T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290953#M4796</link>
      <description>&lt;P&gt;if your scripts are not loading, make sure you add the location where the script will be to the trusted locations in AutoCAD.&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-9C7E997D-28F8-4605-8583-09606610F26D" target="_blank"&gt;https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-9C7E997D-28F8-4605-8583-09606610F26D&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to add this in the options dialog&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TheCADnoob_0-1738251952558.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1461074iA6D3E4FE12612A2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TheCADnoob_0-1738251952558.png" alt="TheCADnoob_0-1738251952558.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:45:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290953#M4796</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2025-01-30T15:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290961#M4797</link>
      <description>&lt;P&gt;1. Filedia is useless, a Script is a automation where AutoCAD will use the commandline version, but it doesn't hurt.&lt;/P&gt;&lt;P&gt;2. German AutoCAD don't know about a command with name "OPEN",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the german one is "öffnen", but for automation it is better you using international command&amp;amp;option calls: _OPEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (underline, followed by the englisch command or option name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:48:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290961#M4797</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-01-30T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290972#M4798</link>
      <description>&lt;P&gt;I am confused now&lt;/P&gt;&lt;P&gt;"C:\Program Files\Autodesk\AutoCAD 2025\accoreconsole.exe" /s "C:\temp\cad\scripttest.scr"&lt;STRONG&gt; /l en-US"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it seems to start a german version!?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290972#M4798</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-01-30T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: plot multiple dwg-files (in different direcories) to pdf in multiple directories per cmd batchfile?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290997#M4799</link>
      <description>&lt;P&gt;EDIT: Looks liks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp; beat me to it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be the language pack. Try adding a _ before the command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;_open&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE id="GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF__TABLE_AA4497D29D6C432389D366D640B68462" class="table" border="1" summary="" frame="border" rules="all" cellspacing="0" cellpadding="4"&gt;
&lt;TBODY class="tbody"&gt;
&lt;TR class="row"&gt;
&lt;TD valign="top" class="entry"&gt;&lt;SAMP class="ph codeph"&gt;._CIRCLE;&lt;/SAMP&gt;&lt;/TD&gt;
&lt;TD valign="top" class="entry"&gt;Starts the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword cmdname"&gt;CIRCLE&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command, independent of the current AutoCAD language pack&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 30 Jan 2025 16:00:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/plot-multiple-dwg-files-in-different-direcories-to-pdf-in/m-p/13290997#M4799</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2025-01-30T16:00:24Z</dc:date>
    </item>
  </channel>
</rss>

