<?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: Automated Batch plot based attribute in drawing title block (e.g. Size: C) in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708363#M17823</link>
    <description>&lt;P&gt;It can be done.&amp;nbsp; I don't have the knowledge on how to make it a script you run on a folder of drawings.&lt;/P&gt;
&lt;P&gt;My Plot program is a little too customized for my current workflow.&amp;nbsp; It would probably take a few hours to reverse it down to something that would work specifically for you.&lt;/P&gt;
&lt;P&gt;There are two parts to the LISP.&amp;nbsp; Part 1 looks at the title block and sets variables for the pagesetup, file type, and folder to place the file.&amp;nbsp; The second portion issues the -plot command and feeds those values to it.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 03:12:25 GMT</pubDate>
    <dc:creator>chriscowgill7373</dc:creator>
    <dc:date>2024-04-15T03:12:25Z</dc:date>
    <item>
      <title>Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706452#M17816</link>
      <description>&lt;P&gt;We are doing a large project (~900 files) that has many drawing sizes. We want to batch plot them using the attribute in the title block (e.g. "DWG Size: C") to choose the "Page Setup"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can of course segregate the files by drawing size (in folders, modify filenames, etc...).&amp;nbsp; However, we are interested in achieving this without knowing the specified size before hand, rather specifying this attribute that then determines the page setup to choose ... automate it, not engineer around it.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 13:39:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706452#M17816</guid>
      <dc:creator>johntpope</dc:creator>
      <dc:date>2024-04-13T13:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706534#M17817</link>
      <description>&lt;P&gt;Lisp routine would select the title block then locate the attribute based on its tag and finally retrieve the value. Then condition statements to determine based on that value the name of the page setup to use assuming that page setup name can be found in the drawing. Perhaps post a dwg with this sample title block and attribute and list the matching pagesetup names to use&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 15:02:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706534#M17817</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-04-13T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706714#M17818</link>
      <description>&lt;P&gt;Unfortunately, I do not believe that PUBLISH has the ability to do what you are asking.&amp;nbsp; It expects all of that information to be input ahead of time.&amp;nbsp; Also you cant run scripts as part of the publish process, so there wouldnt be a way to do this in the background.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps an adjustment to your workflow for future projects may be helpful. When adding your title block, you can set the correct page setup current, then when you run the publish, it will use that specified page setup and eliminate the need for an "addon".&lt;/P&gt;
&lt;P&gt;As for your current question, some sort of script that opens all the selected drawings, sets the pagesetup current, then plots and closes would probably serve you best.&amp;nbsp; If you put a save in there, in theory, you could move into just using the last saved page setup, and I would think that it would be much faster to just issue the PUBLISH command than to run the script every time.&lt;/P&gt;
&lt;P&gt;What about looking at the title block name itself instead of adding an extra attribute?&amp;nbsp; If you can just look for the block name it would be faster than looking for the block name, then looking through all the attributes until you find the one you need, and hope someone filled it out like they should.&amp;nbsp; &amp;nbsp;Same thing as what Paul suggests, you would also need to assume the page setup existed in the file.&amp;nbsp; &amp;nbsp;In the past, when I've done automating of page sizes, I started my LISP with importing the named pagesetups from our template and overwriting whatever was there.&amp;nbsp; Then chose the page size based on the name of the title block.&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;</description>
      <pubDate>Sat, 13 Apr 2024 18:15:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706714#M17818</guid>
      <dc:creator>chriscowgill7373</dc:creator>
      <dc:date>2024-04-13T18:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706809#M17819</link>
      <description>&lt;P&gt;Many thanks Chris and Paul.&lt;/P&gt;&lt;P&gt;I am attaching example of sanitized DWG file with the Title Block with C-size.&amp;nbsp; In this case we would want it to print using page setup for "ANSI Full Bleed 22x17 in".&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 20:34:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706809#M17819</guid>
      <dc:creator>johntpope</dc:creator>
      <dc:date>2024-04-13T20:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706862#M17820</link>
      <description>&lt;P&gt;you may get better feedback by posting in the customizable forum here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130" target="_blank"&gt;Visual LISP, AutoLISP, General Customization Forum Autodesk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 21:50:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706862#M17820</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-04-13T21:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706872#M17821</link>
      <description>&lt;P&gt;In your posting you'll need to provide the following details:&lt;/P&gt;&lt;P&gt;Page Setup Name:&lt;/P&gt;&lt;P&gt;Block Name:&lt;/P&gt;&lt;P&gt;Attribute Tag Name:&lt;/P&gt;&lt;P&gt;Currently my best guess is this block but no idea which tag:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1713045513691.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1349415i2CE65B286992F213/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_0-1713045513691.png" alt="paullimapa_0-1713045513691.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And which page setup name:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_1-1713045554454.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1349417iDF81255D14000703/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paullimapa_1-1713045554454.png" alt="paullimapa_1-1713045554454.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 21:59:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12706872#M17821</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-04-13T21:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708054#M17822</link>
      <description>&lt;P&gt;Thank Paul&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, the Block Title actually contains the DWG size information (i.e. "Full D Land") ... its not in one of the Tag IDs in the block.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Page Setup would be "PDF-DL-NU"&lt;/P&gt;&lt;P&gt;Likewise, DWGs with Block "Full C Land" would be "PDF-CL-NU"&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 21:27:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708054#M17822</guid>
      <dc:creator>johntpope</dc:creator>
      <dc:date>2024-04-14T21:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708363#M17823</link>
      <description>&lt;P&gt;It can be done.&amp;nbsp; I don't have the knowledge on how to make it a script you run on a folder of drawings.&lt;/P&gt;
&lt;P&gt;My Plot program is a little too customized for my current workflow.&amp;nbsp; It would probably take a few hours to reverse it down to something that would work specifically for you.&lt;/P&gt;
&lt;P&gt;There are two parts to the LISP.&amp;nbsp; Part 1 looks at the title block and sets variables for the pagesetup, file type, and folder to place the file.&amp;nbsp; The second portion issues the -plot command and feeds those values to it.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 03:12:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708363#M17823</guid>
      <dc:creator>chriscowgill7373</dc:creator>
      <dc:date>2024-04-15T03:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708526#M17824</link>
      <description>&lt;P&gt;Why don't you use a ready-made solution?&lt;BR /&gt;There are programs that automatically detect the format in your drawing. Moreover, they can find texts in the title block and sort them.&lt;BR /&gt;There are a lot of Lisps on this topic on the forum, use the search&lt;BR /&gt;There are also commercial ones, for example such as -&amp;nbsp;&lt;A href="https://www.kdmsoft.net/revers.html" target="_blank" rel="noopener"&gt;Revers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 05:55:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12708526#M17824</guid>
      <dc:creator>baksconstructor</dc:creator>
      <dc:date>2024-04-15T05:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12712875#M17825</link>
      <description>&lt;P&gt;As I stated in a prior post you'll get more feedback by posting this subject in the &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130" target="_blank" rel="noopener"&gt;customization&lt;/A&gt; forum.&lt;/P&gt;&lt;P&gt;But here's my take at this with the attached lisp code &lt;STRONG&gt;DwgACCBlkPlotPS.lsp&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Save the code into a folder where it can be loaded (drag &amp;amp; drop) into &lt;STRONG&gt;AutoCAD&lt;/STRONG&gt; in an empty drawing.&lt;/P&gt;&lt;P&gt;When &lt;STRONG&gt;DwgACCBlkPlotPS&lt;/STRONG&gt;&amp;nbsp;runs it will request for the drawing folder location.&lt;/P&gt;&lt;P&gt;All the drawings (currently not opened) in this location will be examined using the &lt;STRONG&gt;ODBX&lt;/STRONG&gt; method which does &lt;STRONG&gt;NOT&lt;/STRONG&gt; require the drawing to be opened.&lt;/P&gt;&lt;P&gt;When a drawing's &lt;STRONG&gt;layout&lt;/STRONG&gt; contains the specified &lt;STRONG&gt;Title Block&lt;/STRONG&gt;&amp;nbsp;(&lt;SPAN&gt;"FULL D Land")&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and the corresponding &lt;/SPAN&gt;&lt;STRONG&gt;Pagesetup&lt;/STRONG&gt;&lt;SPAN&gt; name (&lt;/SPAN&gt;&lt;SPAN&gt;"PDF-DL-NU") is found&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in the drawing then a &lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;Script&lt;/STRONG&gt; with a sequence of &lt;STRONG&gt;Plot&lt;/STRONG&gt;&amp;nbsp;commands are automatically generated.&amp;nbsp;&lt;/SPAN&gt;The script file is named per drawing name with the layout name appended ie:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example - Copy 1.dwg&lt;/STRONG&gt;&amp;nbsp;with layout named:&amp;nbsp;&lt;STRONG&gt;REV XX Additions =&lt;/STRONG&gt;&amp;nbsp;Script file:&amp;nbsp;&lt;STRONG&gt;Example - Copy 1-REV XX Additions.scr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After examining each drawing a batch file (&lt;STRONG&gt;DwgACCBlkPlotPS.cmd&lt;/STRONG&gt;) is run using the&amp;nbsp;&lt;STRONG&gt;Coreconsole&lt;/STRONG&gt;&amp;nbsp;method to execute the &lt;STRONG&gt;Plot&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Script&lt;/STRONG&gt; files which again does &lt;STRONG&gt;NOT&lt;/STRONG&gt; require &lt;STRONG&gt;AutoCAD&lt;/STRONG&gt; to open any drawings.&lt;/P&gt;&lt;P&gt;Also &lt;STRONG&gt;Windows Explorer&lt;/STRONG&gt; is launched with that specified folder opened for review after the entire&amp;nbsp;&lt;STRONG&gt;Plot&lt;/STRONG&gt; sequence completes.&lt;/P&gt;&lt;P&gt;If you need to add/modify the &lt;STRONG&gt;Title Block&lt;/STRONG&gt;&amp;nbsp;and the associated &lt;STRONG&gt;Pagesetup&lt;/STRONG&gt;&amp;nbsp;names, change the code at this location (but preserve the same formatting):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(cons (strcase "FULL C Land") (strcase "PDF-CL-NU"))
(cons (strcase "FULL D Land") (strcase "PDF-DL-NU"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know how this works out for you.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 19:56:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12712875#M17825</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-04-16T19:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12716202#M17826</link>
      <description>&lt;P&gt;Paul, I wanted to let you know that the code works exactly as you described and is very helpful! I've already started adding other PageSetUps and looking to customize it further. Again, greatly appreciated!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 02:56:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12716202#M17826</guid>
      <dc:creator>johntpope</dc:creator>
      <dc:date>2024-04-18T02:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Batch plot based attribute in drawing title block (e.g. Size: C)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12716211#M17827</link>
      <description>&lt;P&gt;glad that worked out for you...cheers!!!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 03:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/automated-batch-plot-based-attribute-in-drawing-title-block-e-g/m-p/12716211#M17827</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-04-18T03:02:59Z</dc:date>
    </item>
  </channel>
</rss>

