<?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>tema Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9323682#M1010326</link>
    <description>&lt;P&gt;I am running 2020 with arch toolsets and found that when I used the quotes for the long file name it worked but did not work for a "block name". It reads back the block as test 1" for why I have now clue.&amp;nbsp; I personally don't like to use file names or blocks or pretty much anything with spaces within Autocad. That said If you rename the block then the a script will work.&amp;nbsp; You should also rename the base.dwg naming if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could make two scripts. one to rename and then another to do the block update.&lt;/P&gt;&lt;P&gt;;first script renames the block&lt;/P&gt;&lt;P&gt;-RENAME&lt;BR /&gt;B&lt;BR /&gt;"cir 1"&lt;BR /&gt;cir-1&lt;BR /&gt;;next script&lt;/P&gt;&lt;P&gt;-insert&lt;/P&gt;&lt;P&gt;;block name=dwg file location and namecir-1=c:\plot\cir-1.dwg&lt;BR /&gt;0,0&lt;BR /&gt;1&lt;BR /&gt;1&lt;/P&gt;&lt;P&gt;ERASE&lt;BR /&gt;LAST&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 19:09:47 GMT</pubDate>
    <dc:creator>R_Tweed</dc:creator>
    <dc:date>2020-02-17T19:09:47Z</dc:date>
    <item>
      <title>Macro to Redefine Block in Multiple Drawings (but with blockname contain space)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9322337#M1010227</link>
      <description>&lt;P&gt;Hi, I would like to ask for solution, since I'm very new to autocad macros&lt;BR /&gt;I have drawings set from other party that i have to revise, unfortunately they don't use xref and only using blocks,&lt;/P&gt;&lt;P&gt;and they split their drawings to multiple files, so i have to use adcenter to redefine block one by one in each drawings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I search the forum and found solution for macros as below:&lt;BR /&gt;-INSERT&lt;BR /&gt;title=&lt;BR /&gt;Y&lt;BR /&gt;(COMMAND \e "RESUME")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but unfortunately macro above only works for drawing name that does not contain space&lt;BR /&gt;if, let say the drawing name is title 01, it would not work&lt;BR /&gt;i try to use "title 01" between the filename:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-INSERT&lt;BR /&gt;"title 01"=&lt;BR /&gt;Y&lt;BR /&gt;(COMMAND \e "RESUME")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it will say:&lt;BR /&gt;Command: -INSERT&lt;BR /&gt;Enter block name or [?]: "TITLE 01"=&lt;BR /&gt;Warning: If you are trying to insert the file: "TITLE 01"&lt;BR /&gt;it must be inserted using the &amp;lt;block&amp;gt;=&amp;lt;filename&amp;gt; syntax.&lt;BR /&gt;Command: Y&lt;BR /&gt;Unknown command "Y". Press F1 for help.&lt;BR /&gt;&lt;BR /&gt;Is there&amp;nbsp; a solution for my problem above? would very much appreciated for the help &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@38DF24EF580240D512020314976B5FC8/emoticons/1f642.png" alt=":cara_con_una_leve_sonrisa:" title=":cara_con_una_leve_sonrisa:" /&gt;&lt;BR /&gt;&lt;BR /&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:00:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9322337#M1010227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-17T09:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9322359#M1010230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please do not start multiple threads with the same question (just added the space in filename issue).&lt;/P&gt;
&lt;P&gt;You have already a thread and active discussion &lt;A href="https://forums.autodesk.com/t5/autocad-forum/using-a-script-to-update-block-in-multiple-files/m-p/9320927#M1010181" target="_blank" rel="noopener"&gt;&amp;gt;&amp;gt;&amp;gt;there&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt;, please continue in that thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:09:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9322359#M1010230</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2020-02-17T09:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9323682#M1010326</link>
      <description>&lt;P&gt;I am running 2020 with arch toolsets and found that when I used the quotes for the long file name it worked but did not work for a "block name". It reads back the block as test 1" for why I have now clue.&amp;nbsp; I personally don't like to use file names or blocks or pretty much anything with spaces within Autocad. That said If you rename the block then the a script will work.&amp;nbsp; You should also rename the base.dwg naming if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could make two scripts. one to rename and then another to do the block update.&lt;/P&gt;&lt;P&gt;;first script renames the block&lt;/P&gt;&lt;P&gt;-RENAME&lt;BR /&gt;B&lt;BR /&gt;"cir 1"&lt;BR /&gt;cir-1&lt;BR /&gt;;next script&lt;/P&gt;&lt;P&gt;-insert&lt;/P&gt;&lt;P&gt;;block name=dwg file location and namecir-1=c:\plot\cir-1.dwg&lt;BR /&gt;0,0&lt;BR /&gt;1&lt;BR /&gt;1&lt;/P&gt;&lt;P&gt;ERASE&lt;BR /&gt;LAST&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 19:09:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9323682#M1010326</guid>
      <dc:creator>R_Tweed</dc:creator>
      <dc:date>2020-02-17T19:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9324632#M1010385</link>
      <description>&lt;P&gt;In Scripts, dealing with the strings with spaces will be in this format in order to continue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(command "insert" "a3(tags)=C:\\Users\\dmmn0800\\Documents\\a3(tags).dwg" "0,0" "1" "1" "0")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in this situation, i replace the block named "A3(tags)" with a new one. Even the file name of the new block has space, (e.g A3 Tags.dwg) the script can read it because it was written in autolisp format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 08:47:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9324632#M1010385</guid>
      <dc:creator>daneson.marcelino</dc:creator>
      <dc:date>2020-02-18T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9330527#M1010761</link>
      <description>&lt;P&gt;technically this works, although need to workaround a bit, but still it get the job done&lt;BR /&gt;I just rename the block name to remove the space, and then just use the first script to batch redefine&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks for all the help&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 11:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9330527#M1010761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-20T11:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to Redefine Block in Multiple Drawings (but with blockname contain spa</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9330532#M1010762</link>
      <description>&lt;P&gt;very sorry about that, I'll close this one&lt;BR /&gt;&lt;BR /&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 11:48:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/macro-to-redefine-block-in-multiple-drawings-but-with-blockname/m-p/9330532#M1010762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-20T11:48:54Z</dc:date>
    </item>
  </channel>
</rss>

