<?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 LISP to Batchplot (Publish) Multiple .dwg Models into One PDF in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12655907#M16009</link>
    <description>&lt;P&gt;I've been tasked with the objective of creating a LISP which will automatically batchplot (publish) all Models in a set of .dwg in a given folder to a single .pdf. The idea is that we will create a routine which will run this LISP once a week to keep the .pdf, which is used by non-CAD users, up to date.&lt;/P&gt;&lt;P&gt;I am new to LISP but as I've tried to plan this out, I've come up with the idea that I would create a temp .dsd file based on the .dwg filename containing a substring of characters (ex. KER) and load that .dsd into PUBLISH command. Each Model would be passed the same page setup.&lt;/P&gt;&lt;P&gt;Does this sound feasible? Does anyone have any experience doing something similar and can provide some examples?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 11:09:21 GMT</pubDate>
    <dc:creator>whitt0213</dc:creator>
    <dc:date>2024-03-21T11:09:21Z</dc:date>
    <item>
      <title>LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12655907#M16009</link>
      <description>&lt;P&gt;I've been tasked with the objective of creating a LISP which will automatically batchplot (publish) all Models in a set of .dwg in a given folder to a single .pdf. The idea is that we will create a routine which will run this LISP once a week to keep the .pdf, which is used by non-CAD users, up to date.&lt;/P&gt;&lt;P&gt;I am new to LISP but as I've tried to plan this out, I've come up with the idea that I would create a temp .dsd file based on the .dwg filename containing a substring of characters (ex. KER) and load that .dsd into PUBLISH command. Each Model would be passed the same page setup.&lt;/P&gt;&lt;P&gt;Does this sound feasible? Does anyone have any experience doing something similar and can provide some examples?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:09:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12655907#M16009</guid>
      <dc:creator>whitt0213</dc:creator>
      <dc:date>2024-03-21T11:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12657920#M16010</link>
      <description>&lt;P&gt;I got round the single pdf file by using Ghostscript it has the ability to combine multiple pdf into 1 Pdf. We did not use publish rather custom plot lisps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could put all the pdf's into a directory then tell Ghostscript to combine, the good news is that there is a VL function for getting files in a directory and secondly you can use lisp to run Ghostscript.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this sounds useful post again.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 04:14:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12657920#M16010</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-03-22T04:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12658452#M16011</link>
      <description>&lt;P&gt;I'm not familiar with Ghostscript, but I'm open to learning something new!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 10:25:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12658452#M16011</guid>
      <dc:creator>whitt0213</dc:creator>
      <dc:date>2024-03-22T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12659857#M16012</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15235384"&gt;@whitt0213&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This method might be a little too much to take in as a newbie, but you have to start somewhere, huh?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look into the registry, specifically this area:&lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\SOFTWARE\Autodesk\[[AutoCAD Product here]]\Profiles\[[Profile Here]]\Dialogs\AcPublishDlg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is no AcPublishDlg entry, command PUBLISH was never started (and ended) on that computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The keys you will be setting are:&lt;/P&gt;&lt;P&gt;IncludeLayout = 0&lt;/P&gt;&lt;P&gt;IncludeModel = 1&lt;/P&gt;&lt;P&gt;MultiSheetFile = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the variable&lt;/P&gt;&lt;P&gt;PUBLISHALLSHEETS = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All drawings in the directory will need to be loaded in the AutoCAD editor for this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise you will have to use an external scripting-type of program to generate, then bind the PDF's (which is not LISP).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dsd file only works with drawings already loaded into the editor (I think). Therefore you do not need to investigate this route.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 21:29:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12659857#M16012</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2024-03-22T21:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12660184#M16013</link>
      <description>&lt;P&gt;Have a look at this as example code. You will need to download and install current ghostscript 1st and edit the version in the lisp code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 03:46:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12660184#M16013</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-03-23T03:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12663877#M16014</link>
      <description>&lt;P&gt;Maybe this will help you -&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://www.kdmsoft.net/revers.html" target="_blank" rel="noopener"&gt;Revers&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There is an automatic folder check.&lt;BR /&gt;If a file appears in the folder, a PDF is created or printed.&lt;BR /&gt;After this, the file is deleted from the folder, but the PDF remains.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:15:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12663877#M16014</guid>
      <dc:creator>maratovich</dc:creator>
      <dc:date>2024-03-25T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12664341#M16015</link>
      <description>&lt;P&gt;Hey Scot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Forgive me for my stupidity, but what do you mean by, "&lt;SPAN&gt;All drawings in the directory will need to be loaded in the AutoCAD editor for this to work." What is the AutoCAD editor?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:37:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12664341#M16015</guid>
      <dc:creator>whitt0213</dc:creator>
      <dc:date>2024-03-25T17:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: LISP to Batchplot (Publish) Multiple .dwg Models into One PDF</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12664343#M16016</link>
      <description>&lt;P&gt;Thanks for the example code! I'll take a look into this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:39:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-to-batchplot-publish-multiple-dwg-models-into-one-pdf/m-p/12664343#M16016</guid>
      <dc:creator>whitt0213</dc:creator>
      <dc:date>2024-03-25T17:39:14Z</dc:date>
    </item>
  </channel>
</rss>

