<?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: Macro needed to cleanup drawings in a directory in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315403#M132344</link>
    <description>Are you wanting a routine to do the audit, purge, and dxfout on all 100 drawings automatically, unattended?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 09 May 2016 13:32:12 GMT</pubDate>
    <dc:creator>rkmcswain</dc:creator>
    <dc:date>2016-05-09T13:32:12Z</dc:date>
    <item>
      <title>Macro needed to cleanup drawings in a directory</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315260#M132343</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to this forum. I see you all wonderful people helping each other to make others’ lives easier. Hats off all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some bugs in my drawings. They are usually huge in size (~10MB) and working with these drawings are really slow. (Ex. when&amp;nbsp;I try windows copy, It takes too long to complete, most of the time&amp;nbsp;I get FATAL ERRORS). If I do the audit, purge command alone, the file size is not reducing. It remains same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, to reduce the size and clear the bug, I usually perform "audit, purge_all, dxfout and close. Then&amp;nbsp;I again audit, purge_all and save the exported dxf file as the native dwg file (overwrite), by doing this,&amp;nbsp;I could able to reduce the file (At the end, It'll be just ~1MB! in it's size) and it also clears the&amp;nbsp; FATAL ERROR bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to do the same process for ~100 drawings daily. It eats a lot of time to do this task manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have knowledge on lisp. Is it possible to write a lisp routine that will work for me???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using AutoCAD mechanical 2012!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;P&gt;Sorry for my poor English.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 12:46:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315260#M132343</guid>
      <dc:creator>muralitharan.s</dc:creator>
      <dc:date>2016-05-09T12:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro needed to cleanup drawings in a directory</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315403#M132344</link>
      <description>Are you wanting a routine to do the audit, purge, and dxfout on all 100 drawings automatically, unattended?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2016 13:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315403#M132344</guid>
      <dc:creator>rkmcswain</dc:creator>
      <dc:date>2016-05-09T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Macro needed to cleanup drawings in a directory</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315694#M132345</link>
      <description>&lt;P&gt;Hi rkmcswain, Thanks for your interest on this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we can automate without manual interuption that would be great! Otherwise, what best we can do, I'll live with&amp;nbsp;that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought of selecting set of drawings from a directory to do the batchprocess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 15:25:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6315694#M132345</guid>
      <dc:creator>muralitharan.s</dc:creator>
      <dc:date>2016-05-09T15:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro needed to cleanup drawings in a directory</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6345232#M132346</link>
      <description>&lt;P&gt;Here is a method of batch processing drawings. You might have to create 2 separate script files to do both steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example .BAT file -&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;echo off&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;echo Starting AcCoreConsole&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;c:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;cd C:\Program Files\Autodesk\AutoCAD 2016&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;echo ================================================================================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;FOR %%f in ("C:\TEST\*.dwg") DO "C:\Program Files\Autodesk\AutoCAD 2016\AcCoreConsole.exe" /i "%%f" /s "C:\Test\Purge.scr" /l en-US&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;echo Done!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;pause&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the script file -&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;ZOOM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;E&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;ZOOM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;.95X&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;PURGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;ALL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;N&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;PURGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;ALL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;N&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;PURGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;ALL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;*&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;N&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;UPDATETHUMBNAIL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;31&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;UPDATETHUMBSNOW&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff6600"&gt;SAVE&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff6600"&gt;Y&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 02:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/macro-needed-to-cleanup-drawings-in-a-directory/m-p/6345232#M132346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-24T02:02:59Z</dc:date>
    </item>
  </channel>
</rss>

