<?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: AutoCAD - Find Paperspace Drawings within Thousands of Drawing Files in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/11572438#M327996</link>
    <description>&lt;P&gt;You are right. It does work when the "empty" paperspace viewport is deleted. Unfortunately I have a lot of drawings which have "empty" viewports. Do you know if there is a way to make them delete?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added an example drawing. Running this program will delete empty 'Layout1', but not 'Layout2' for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 09:47:13 GMT</pubDate>
    <dc:creator>Jordy.van.koeveringe</dc:creator>
    <dc:date>2022-11-23T09:47:13Z</dc:date>
    <item>
      <title>AutoCAD - Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642354#M327973</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to prepare about 27,000 drawing files for a document management system to create PDF renditions of those drawings. The document management system will, by default, plot the model space of each drawing. About a quarter of the drawings use paperspace though. So I'll need to pick out the&amp;nbsp;paperspace drawings&amp;nbsp;and adjust their plot settings in the document management system one-by-one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is a good way to find all the paperspace drawings out of the 27,000 drawing files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ The subject line of this post has been edited for clarity by &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12851358"&gt;@handjonathan&lt;/a&gt; Original: Find Paperspace Drawings within Thousands of Drawing Files ]&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:21:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642354#M327973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-23T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642436#M327974</link>
      <description>&lt;P&gt;Perhaps DATAEXTRACTION can help you track them down.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 20:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642436#M327974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T20:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642468#M327975</link>
      <description>&lt;P&gt;Thanks, Patrick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll give that a try. In the meantime though, could you explain how I would use DATAEXTRACTION exactly? I've never actually used it. Would it generate a table that will show me a list of files with layouts&amp;nbsp; or what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 21:17:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642468#M327975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T21:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642486#M327976</link>
      <description>&lt;P&gt;Juan, I've only used it a few times and I'm not exactly sure how to extract the existence of the layout - maybe if they are named layout, or the contents of a layout. But yes, it will create a table listing the files that contain the criteria that you define. It is easy enough to use but I would suggest running it against a small sample of your drawings.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 21:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642486#M327976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T21:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642513#M327977</link>
      <description>&lt;P&gt;(layoutlist)&amp;nbsp;&lt;/P&gt;&lt;P&gt;makes you list of current Layout names.&lt;/P&gt;&lt;P&gt;Then you need something like ScriptPro to run through all dwgs (or your management system?)&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://autodesk.blogs.com/between_the_lines/2012/06/scriptpro-for-autocad-32bit-and-64bit.html"&gt;http://autodesk.blogs.com/between_the_lines/2012/06/scriptpro-for-autocad-32bit-and-64bit.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 21:39:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642513#M327977</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-19T21:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642519#M327978</link>
      <description>&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went ahead and tested a couple paperspace drawings and I don't see a way to extract layout information with DATAEXTRACTION. You were on the right track though. Thanks for giving it a shot and showing me a new command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 21:37:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642519#M327978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642539#M327979</link>
      <description>BeekeeCZ,&lt;BR /&gt;&lt;BR /&gt;Thank you. I actually have come across (layoutlist) and tried it out. Unfortunately, model space drawings always have at least one empty layout and usually at least two empty layouts. So (layoutlist) will list even empty layouts. A drawing with empty layouts is a model space drawing, right?&lt;BR /&gt;&lt;BR /&gt;A paperspace drawing would be one with one or more layouts with page setups and viewports applied to each layout.&lt;BR /&gt;&lt;BR /&gt;I hope that made sense.&lt;BR /&gt;&lt;BR /&gt;Juan</description>
      <pubDate>Tue, 19 May 2015 21:43:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642539#M327979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T21:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642551#M327980</link>
      <description>&lt;P&gt;I know. I gonna need a lisp routine for that. Maybe this by Kent Cooper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;: Try this, is little modified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun C:DAEL2 (); = Delete All Empty Layouts
  (setvar 'ctab "Model")
  (foreach layout (layoutlist)
    (if
      (or (not (ssget "_X" (list (cons 410 layout))))
	  (&amp;lt; (sslength (ssget "_X" (list (cons 410 layout)))) 2)); nothing in it but its paper space viewport
      (command "_.layout" "_delete" layout)
    ); if
  ); foreach
); defun&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;Found &lt;/SPAN&gt;&lt;A target="_self" href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/deleting-empty-layouts/td-p/975665"&gt;here&lt;/A&gt;&lt;SPAN style="line-height: 15px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 22:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642551#M327980</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-19T22:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642556#M327981</link>
      <description>&lt;P&gt;it was a shot in the dark Juan. After I mentioned it I tried it as well and didn't see a way of extracting layout information. Have you looked on Autodesk Exchange Apps for any kinf of plug-in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find something then give ScriptPro a try as suggested. I don't know if ScriptPro works as it used to (opening an AutoCAD session for each drawing) - that would be horribly ineffecient and slow. If that's the case my CadTempo software has a batch script processor that might do the trick. You should be able to churn through 27,000 files during the free trial period.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 21:55:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642556#M327981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T21:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642595#M327982</link>
      <description>&lt;P&gt;BeekeeCZ, your modified LISP routine works great. Thank you. It deletes all layouts with only one or zero objects. I would actually only want it to delete layouts with zero objects though because we do have paperspace drawings with only one viewport in the layout. I wouldn't want to delete those layouts. Could you modify the routine to only delete layouts with zero objects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I actually tried editing the routine myself. I'm just barely getting into LISP so bare with me please. So I changed the "2" to a "1" in the routine and it that seems to have worked. Now it deletes all layouts with less than 1 objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patrick, I'll look through Autodesk Exchange. Thanks for the tip. I'll have a look at your CadTempo software too when it comes time to decide which program to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My day at work is over. I'll get back into this tomorrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 22:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642595#M327982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T22:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642610#M327983</link>
      <description>&lt;P&gt;You need test it more. Because you probably cant erase all Layouts - even if you try so, AutoCAD recreates empty Layout1 automatically. Second - if you hit (accidentally) Layout tab when is one viewport created automatically (by default, but it could be turn off by settings). And third - selection of automatically made viewport contains actually 2 objects (both are viewport)...&lt;/P&gt;&lt;P&gt;Probably need figure out the other way to test if Layout was created on purpose or not.&lt;/P&gt;&lt;P&gt;Tested in AutoCAD 2015.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 22:53:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5642610#M327983</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-19T22:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5643389#M327984</link>
      <description>&lt;P&gt;Good morning!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BeekeeCZ, I'll definitely test out the routine before running it on all 27,000 files. I'll let you know how it goes. I'm also on 2015.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 13:44:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5643389#M327984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T13:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5654301#M327985</link>
      <description>&lt;P&gt;Alright, This is the route I'd like to take now, but I need some help with the LISP routine. I'd like to RENAME all empty layouts (i.e. empty1, empty2) instead of deleting them so that I can easily&amp;nbsp;filter them out when I export the list of layout names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've spent quite some time trying to modify the LISP routine BeekeeCZ provided, but I just can't get it. Here's the routine I'm using now:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:DAEL (); = Delete All Empty Layouts
  (setvar 'ctab "Model")
  (foreach layout (layoutlist)
    (if
      (or (not (ssget "_X" (list (cons 410 layout))))
	  (&amp;lt;= (sslength (ssget "_X" (list (cons 410 layout)))) 1)); nothing in layout
      (command "_.layout" "_delete" layout)
    ); if
  ); foreach
); defun&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So is it possible to rename the empty layouts instead of deleting them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 21:07:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5654301#M327985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T21:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655287#M327986</link>
      <description>&lt;P&gt;You can try with&amp;nbsp;&lt;A title="BatchInDatabase" href="http://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com%3abatch-in-database%3aen" target="_self"&gt;BatchInDatabase&lt;/A&gt; tool to find out the drawings which conains empty layouts without opening them&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could think of two ways now&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Method one.&lt;/P&gt;
&lt;P&gt;Use the command "Entity-Erase" and "All layouts" with only option "Include entity Type" which means delete entity which matches your selection.&lt;/P&gt;
&lt;P&gt;The assemption is, the layout which is not empty may contains, line, polyline, block, text etc..., so I would draw one line, polyline and text and use the above command to select them from the current layout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The steps to process the files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. add your drawing in 500s or 1000s fro each batch&lt;/P&gt;
&lt;P&gt;2. add the command "Entity-Erase" with above said scenario&lt;/P&gt;
&lt;P&gt;3. add the command to all the loaded drawing in the batch&lt;/P&gt;
&lt;P&gt;4. choose the option "Do not save"&lt;/P&gt;
&lt;P&gt;5. run the batch process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;we are just testing the existance of objects , the log roports how many objects matches your selection in each layout which would givee you the clue which drawing contains empty layout.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/170716i8F8905FD3798B82D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="BatchInDatabase-empty layout.JPG" title="BatchInDatabase-empty layout.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if your layout contains Title block which name is same in all drawings then you can prefer the command "Block-Delete" with above steps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is a command to delete or rename the layout like "Empty-1" "Empty-2" etc using the command "Layout-Find &amp;amp; Replace" but there is no option to&amp;nbsp;add the condition to check them first and if they are empty then ranme it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Method two.&lt;/P&gt;
&lt;P&gt;Use the&amp;nbsp;&lt;A title="BatchInEditor" href="http://apps.exchange.autodesk.com/ACD/2013/en/Detail/Index?id=appstore.exchange.autodesk.com%3abatch-in-editorv10%3aen" target="_self"&gt;BatchInEditor&lt;/A&gt; tool which has command "Plot-Model" with option to plot only modelspace if paperspace is empty, so if you choose to create PDF files and you wll come to know which drawings has empty layouts.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/170717iE7AA2A136143C9CC/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="BatchinEditor-empty layout.JPG" title="BatchinEditor-empty layout.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;you can think of many ways to figure out using the above tools.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this will help.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 15:26:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655287#M327986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T15:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655483#M327987</link>
      <description>&lt;P&gt;DAEL become to RAEL...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:RAEL ( / i) ;Rename All Empty Layouts
  (setvar 'ctab "Model")
  (setq i 0)
  (foreach layout (layoutlist)
    (if
      (or (not (ssget "_X" (list (cons 410 layout))))
	  (&amp;lt;= (sslength (ssget "_X" (list (cons 410 layout))))
	      1)); nothing in layout
      (command "_.layout" "_rename" layout (strcat "empty" (itoa (setq i (1+ i)))))
    ); if
  ); foreach
  (princ)
); defun&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 17:02:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655483#M327987</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-28T17:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655556#M327988</link>
      <description>&lt;P&gt;abubakars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the information. I think BeekeeCZ's solution will work, but I'll definitely look into the "BatchIn" tools to see if they may be useful for other tasks inthe future. I've actually never heard of them.&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;BeekeeCZ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for the new RAEL routine! I tried it on several drawings (model, paper, mixed) and it seems to work just fine. If I do happen to encounter any errors later, I'll post it here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried for hours to edit the DAEL routine to rename instead of delete empty layouts, but being new to LISP I couldn't get it done. I'll have to study this new RAEL routine against the DAEL one carefully to understand what you did exactly. I see you added the "setq," "strcat," and "itoa" functions. I've already done a quick search online to see what those functions do and I've learned quite a bit throughout this process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you and everyone else for your help and sharing your knowledge. This forum and the others out there are invaluable. I hope to be able to pass on some of my own knowledge here as a way to pay it forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 17:58:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655556#M327988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T17:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655581#M327989</link>
      <description>&lt;P&gt;You're welcome.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nowadays almost everything was written somewhere. So If you don't know, just &lt;A href="https://www.google.cz/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=autocad%20lisp%20rename%20layout%20tab" target="_self"&gt;google it&lt;/A&gt;...&amp;nbsp;(as I did, because I thought -RENAME command can do that... actually, it can't.)&amp;nbsp;&lt;BR /&gt;If you have any question, don't hesitate to ask....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 18:17:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655581#M327989</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-05-28T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655631#M327990</link>
      <description>&lt;P&gt;Oh! I could have told you that and I would have felt smart.&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;The LAYOUT command is the one you use to rename a layout, but you know that now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;I will test the RAEL routine a little more before using it on all 27,000 files and I'll update everyone on how it went.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;Thanks again!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 15px;"&gt;Juan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2015 18:43:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5655631#M327990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T18:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5659517#M327991</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just wanted to send a quick update to let everyone know how things are going.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have now run the RAEL lisp routine through about 12,000 files and it's going great. I'm using&amp;nbsp;&lt;A href="http://www.cadig.com/products/autocad-script-pro.php" target="_self"&gt;AutoScript from Cadig&lt;/A&gt; to run a script file that loads and runs the lisp routine on about 2,500 files at a time.&amp;nbsp;After running the RAEL routine, I run&amp;nbsp;&lt;A href="http://www.cadtutor.net/forum/showthread.php?78786-Print-Tabs-Names-" target="_self"&gt;another routine I found over at CADTutor&lt;/A&gt; to export the layout tab names for all the files onto an Excel spreadsheet. I then filter the spreadsheet to see a list of files without empty layouts (i.e. paperspace drawings).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to everyone who helped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:02:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/5659517#M327991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find Paperspace Drawings within Thousands of Drawing Files</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/11572241#M327992</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last few days I have been working on trying to delete empty layouts from a numerous batch of drawings. I tried working according to the way&amp;nbsp;@Anonymous&amp;nbsp;did, but unfortunately this has not been working for me. As being new to Lisp and having difficulty figuring it out I hoped you could give me some advice here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As juan.raven did I used 'Autoscript' to use the lisp routine on my drawings. The script is run without any errors, but nothing appairs to have changed. My drawings contain a&amp;nbsp; A3 framework in the model space, the same framework with a viewport in Layout1. Layout2 &amp;amp; Layout3 are empty with just an empty paperspace viewport.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can tell me what I do wrong here.&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="Jordyvankoeveringe_1-1669189924535.png" style="width: 494px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1143279i4EFEA07E3D901B37/image-dimensions/494x284?v=v2" width="494" height="284" role="button" title="Jordyvankoeveringe_1-1669189924535.png" alt="Jordyvankoeveringe_1-1669189924535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jordyvankoeveringe_2-1669189955126.png" style="width: 496px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1143280iC57827BE6B8CC19C/image-dimensions/496x303?v=v2" width="496" height="303" role="button" title="Jordyvankoeveringe_2-1669189955126.png" alt="Jordyvankoeveringe_2-1669189955126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jordyvankoeveringe_3-1669189982416.png" style="width: 502px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1143281i3B9AFEAD79491FDD/image-dimensions/502x277?v=v2" width="502" height="277" role="button" title="Jordyvankoeveringe_3-1669189982416.png" alt="Jordyvankoeveringe_3-1669189982416.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;&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>Wed, 23 Nov 2022 07:54:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-find-paperspace-drawings-within-thousands-of-drawing/m-p/11572241#M327992</guid>
      <dc:creator>Jordy.van.koeveringe</dc:creator>
      <dc:date>2022-11-23T07:54:06Z</dc:date>
    </item>
  </channel>
</rss>

