<?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: Using A Script To Update Block In Multiple Files in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9320927#M85229</link>
    <description>&lt;P&gt;Hi, I have the same problem if I try to insert block name with space in them,&amp;nbsp;&lt;BR /&gt;example:&lt;BR /&gt;-INSERT&lt;BR /&gt;01_FOR CON=&lt;BR /&gt;Y&lt;BR /&gt;(COMMAND \e "RESUME")&lt;BR /&gt;&lt;BR /&gt;I tried using "01_FOR CON" but still the same problem&lt;BR /&gt;Have find no solution either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Feb 2020 04:59:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-16T04:59:58Z</dc:date>
    <item>
      <title>Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8976381#M85224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to write a script that updates an existing block in a drawing. I then&amp;nbsp;plan on using ScriptPro to run the script across multiple drawings that have the block inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found the following script from this article - &lt;A href="https://www.cad-notes.com/how-to-update-autocad-block-in-multiple-files-using-script/" target="_blank"&gt;https://www.cad-notes.com/how-to-update-autocad-block-in-multiple-files-using-script/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-INSERT&lt;/P&gt;&lt;P&gt;title=&lt;/P&gt;&lt;P&gt;(COMMAND \E "RESUME")&lt;/P&gt;&lt;P&gt;QSAVE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"title" is the&amp;nbsp;block name .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the script through ScriptPro and it doesn't update the block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this message in the log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"title" = Warning: If you are trying to insert the file: "title" it must be inserted using the &amp;lt;block&amp;gt; = &amp;lt;filename&amp;gt; syntax. Command: y Unknown command "Y". Press F1 for help. Command: _. quit Command: **** No System Variable Changed ****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone knowledgeable about scripts let me know what I am doing wrong or suggest&amp;nbsp;a better method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 16:05:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8976381#M85224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T16:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8976448#M85225</link>
      <description>&lt;P&gt;Are you using AutoCAD LT?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you add the path to the support paths?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 16:37:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8976448#M85225</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2019-08-20T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8977696#M85226</link>
      <description>&lt;P&gt;I'm using AutoCAD 2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah I added the path to support paths.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 07:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8977696#M85226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-21T07:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8979016#M85227</link>
      <description>&lt;P&gt;I have been unable to duplicate your problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens if you drag the script into a single drawing? Do you get the same error?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 16:10:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8979016#M85227</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2019-08-21T16:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8979735#M85228</link>
      <description>&lt;P&gt;I also cannot replicate your error.&lt;/P&gt;&lt;P&gt;Try running the lines from the script on the command line and see if any hints&amp;nbsp;pop up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, try these:&lt;/P&gt;&lt;P&gt;1. &amp;nbsp;In your script, after "title=", add a new line with a "Y" (to respond to the "Redefine it?" prompt).&lt;/P&gt;&lt;P&gt;2. After the "=", add the name of the file.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 21:15:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/8979735#M85228</guid>
      <dc:creator>dmfrazier</dc:creator>
      <dc:date>2019-08-21T21:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9320927#M85229</link>
      <description>&lt;P&gt;Hi, I have the same problem if I try to insert block name with space in them,&amp;nbsp;&lt;BR /&gt;example:&lt;BR /&gt;-INSERT&lt;BR /&gt;01_FOR CON=&lt;BR /&gt;Y&lt;BR /&gt;(COMMAND \e "RESUME")&lt;BR /&gt;&lt;BR /&gt;I tried using "01_FOR CON" but still the same problem&lt;BR /&gt;Have find no solution either &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 04:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9320927#M85229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-16T04:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9745740#M85230</link>
      <description>&lt;P&gt;have you tried placing the inverted commas across the whole path and filename, as opposed to just the filename?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. "C:\folder\my file.dwg"&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 13:26:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9745740#M85230</guid>
      <dc:creator>sara.hogan9FG7D</dc:creator>
      <dc:date>2020-09-14T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9749089#M85231</link>
      <description>&lt;P&gt;Lots of problems with directory names with spaces in them may need to use \\ rather than / if on a server may need \\\\ for server name.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 00:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9749089#M85231</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-09-16T00:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9749592#M85232</link>
      <description>It is not clear from your post if you are already doing this, but the syntax for title= is "the block name you wish to update"="the dwg and path you want to update it to"&lt;BR /&gt;&lt;BR /&gt;e.g. "myblock"="c:\folder\myblock.dwg"&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Sep 2020 08:09:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9749592#M85232</guid>
      <dc:creator>sara.hogan9FG7D</dc:creator>
      <dc:date>2020-09-16T08:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using A Script To Update Block In Multiple Files</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9751795#M85233</link>
      <description>&lt;P&gt;Safer myblock= "C:\\Myfolder of\\ stuff\\blocks 1\\dwg1" use the \\ to counter act the spaces in directory names. Even short use C:\\blocks\\dwg1&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 03:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/using-a-script-to-update-block-in-multiple-files/m-p/9751795#M85233</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-09-17T03:48:43Z</dc:date>
    </item>
  </channel>
</rss>

