<?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: Apply script to multiple drawings in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515181#M143661</link>
    <description>You're welcome, knj777&lt;BR /&gt;&lt;BR /&gt;Did you read about the AutoCAD Core Console, in my post?&lt;BR /&gt;&lt;BR /&gt;Henrique</description>
    <pubDate>Fri, 20 Feb 2015 21:29:05 GMT</pubDate>
    <dc:creator>hmsilva</dc:creator>
    <dc:date>2015-02-20T21:29:05Z</dc:date>
    <item>
      <title>Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515018#M143658</link>
      <description>&lt;P&gt;Hell all,&lt;/P&gt;&lt;P&gt;I am just learning how to write scripts, and so far feel pretty comfortable with writing them.&lt;/P&gt;&lt;P&gt;The only thing I cant figure out is to write it to open multiple drawings and apply that script to it.&lt;/P&gt;&lt;P&gt;I do not have Script PRo and probably wont be able to get it due to work restrictions (I cant download anything because you need administrators rights).&lt;/P&gt;&lt;P&gt;I have looked at other peoples questions on how to do this, but have not had any luck.&lt;/P&gt;&lt;P&gt;Can someone please assist me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;knj777&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 19:28:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515018#M143658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T19:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515123#M143659</link>
      <description>&lt;P&gt;Hi knj777,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to run a script in mutiple dwgs, &lt;SPAN class="hps"&gt;without&lt;/SPAN&gt; Script PRo or &lt;SPAN class="hps"&gt;other&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you'll have to hardcoded in the script file the dwg path, open, comands, close, open the next one, commands,...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you are using AC2013+, you may use the AutoCAD Core Console.&lt;/P&gt;
&lt;P&gt;To run a script in mutiple dwgs with ACCConsole, you'll have to create a batch file to start the console, open the dwg, run the .scr file.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://autocadtips.wordpress.com/2013/01/30/up-and-running-with-the-2013-core-console/" target="_blank"&gt;&lt;U&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; link to a &lt;SPAN class="hps"&gt;good explanation&lt;/SPAN&gt; &amp;lt;&amp;lt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 20:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515123#M143659</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-02-20T20:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515164#M143660</link>
      <description>&lt;P&gt;Thanks for you answers. I forgot to mention that there are about 200 drawings and I really would not like to type all of that in, due to the naming convention of the drawings.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 21:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515164#M143660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T21:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515181#M143661</link>
      <description>You're welcome, knj777&lt;BR /&gt;&lt;BR /&gt;Did you read about the AutoCAD Core Console, in my post?&lt;BR /&gt;&lt;BR /&gt;Henrique</description>
      <pubDate>Fri, 20 Feb 2015 21:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515181#M143661</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-02-20T21:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515468#M143662</link>
      <description>&lt;P&gt;Lee Mac's&amp;nbsp;&lt;A href="http://www.lee-mac.com/scriptwriter.html" target="_self"&gt;Scriptwriter&lt;/A&gt;&amp;nbsp;is a very good one to apply your script to multiple files.&lt;/P&gt;
&lt;P&gt;The only problem I found is if the drawing name contains special unicode characters such as ø, it will stops.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2015 09:52:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/5515468#M143662</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2015-02-21T09:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/8517432#M143663</link>
      <description>&lt;P&gt;Thank you very much for Lee Mac's&amp;nbsp;&lt;A href="http://www.lee-mac.com/scriptwriter.html" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;FONT color="#0066cc"&gt;Scriptwriter&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;. It works fine. It only stopped on AutoCAD recover files. I ran on more than 2000 files. After I deleted all recover files, it worked great.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mian&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 22:28:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/8517432#M143663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-11T22:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/8517512#M143664</link>
      <description>&lt;P&gt;Hi @Anonymous,&lt;/P&gt;
&lt;P&gt;can you replicate such a situation (problem with recover files by using the linked program)?&lt;/P&gt;
&lt;P&gt;If so and your &lt;STRONG&gt;RECOVERAUTO&lt;/STRONG&gt; is set to 0 (this is default), &lt;STRONG&gt;set it to 1&lt;/STRONG&gt; and do the test again.&lt;/P&gt;
&lt;P&gt;Is it now working also with files which have to recover?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In may/june 2010 when the wscript was written, the &lt;A href="http://docs.autodesk.com/ACD/2011/ENU/filesACR/WS73099cc142f487554b4b33fa12487091099-7f71.htm" target="_blank"&gt;AutoCAD Version 2011&lt;/A&gt; was brand new and perhaps &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/569456"&gt;@Lee_Mac&lt;/a&gt; didn't know about the new&lt;/P&gt;
&lt;P&gt;recover system variable, which has &lt;A href="http://help.autodesk.com/view/ACD/2019/ENU/?guid=GUID-18E43007-8DE9-4C6D-AE55-13FF0AF492C3" target="_blank"&gt;since Version 2013 one valid value more&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;Even though recoverauto should not solve your described problem, consideration in batch processes usually makes sense.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 23:49:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/8517512#M143664</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-01-11T23:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Apply script to multiple drawings</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/9151869#M143665</link>
      <description>&lt;P&gt;That works great! Thanks Leemac for this!&lt;/P&gt;&lt;P&gt;The only thing you need to pay attention to is that all the commands need to be in the same line otherwise it will not work. you can put the comment in the hyphen ; too.&amp;nbsp; Example: ;this program is bla bla..&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 02:25:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/apply-script-to-multiple-drawings/m-p/9151869#M143665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-18T02:25:44Z</dc:date>
    </item>
  </channel>
</rss>

