<?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 Batch Block Replace with Spreadsheet in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6795231#M244787</link>
    <description>&lt;P&gt;Long story short...is there a way to replace all of the blocks in a drawing at one time. I have a list of the blocks in the drawing and a list of replacement blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From example, would it be possible to create a spreadsheet, in one column have all the names of the blocks that need to be replaced, and in the second column have the replacement block name, run a program or lisp routine, and have all of them replaced at one time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically block replace on steroids. Any help would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2017 13:48:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-10T13:48:35Z</dc:date>
    <item>
      <title>Batch Block Replace with Spreadsheet</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6795231#M244787</link>
      <description>&lt;P&gt;Long story short...is there a way to replace all of the blocks in a drawing at one time. I have a list of the blocks in the drawing and a list of replacement blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From example, would it be possible to create a spreadsheet, in one column have all the names of the blocks that need to be replaced, and in the second column have the replacement block name, run a program or lisp routine, and have all of them replaced at one time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically block replace on steroids. Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 13:48:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6795231#M244787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Block Replace with Spreadsheet</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6795777#M244788</link>
      <description>&lt;P&gt;This sounds totally doable, but its outside of my capabilities.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may get a better response in the customization forum :&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 16:18:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6795777#M244788</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2017-01-10T16:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Block Replace with Spreadsheet</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6796788#M244789</link>
      <description>&lt;P&gt;In column A of your Excel worksheet place the name of the original block and in column B place the name of the block that will replace it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In &amp;nbsp;column C of the first row of blocks you have listed write this expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;=CONCATENATE("blockreplace "," ", A2," ",B2," n")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;( I have assumed that the first row is row 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be sure to have a space after &lt;STRONG&gt;blockreplace&lt;/STRONG&gt;, between the&lt;STRONG&gt; " "&lt;/STRONG&gt;, and before the &lt;STRONG&gt;n&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, fill down the expression from cell C2.&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="blockreplace.JPG" style="width: 629px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/309923i74B9B18D4FD63485/image-size/large?v=v2&amp;amp;px=999" role="button" title="blockreplace.JPG" alt="blockreplace.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Notepad and then copy and paste the contents of column C into Notepad.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;Save As&lt;/STRONG&gt; and save the Notepad file as a Text Document but give it the file extension of .scr (not .txt). &amp;nbsp;For example, &lt;STRONG&gt;MyBlockReplace.scr&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back in AutoCAD give the script command and reference your .scr file.&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;~Lee&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 21:38:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6796788#M244789</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2017-01-10T21:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Block Replace with Spreadsheet</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6796798#M244790</link>
      <description>&lt;P&gt;Nice!&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@lminardigmail wrote:&lt;BR /&gt;
&lt;P&gt;In column A of your Excel worksheet place the name of the original block and in column B place the name of the block that will replace it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In &amp;nbsp;column C of the first row of blocks you have listed write this expression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;=CONCATENATE("blockreplace "," ", A2," ",B2," n")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;( I have assumed that the first row is row 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be sure to have a space after &lt;STRONG&gt;blockreplace&lt;/STRONG&gt;, between the&lt;STRONG&gt; " "&lt;/STRONG&gt;, and before the &lt;STRONG&gt;n&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, fill down the expression from cell C2.&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="blockreplace.JPG" style="width: 629px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/309923i74B9B18D4FD63485/image-size/large?v=v2&amp;amp;px=999" role="button" title="blockreplace.JPG" alt="blockreplace.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open Notepad and then copy and paste the contents of column C into Notepad.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use &lt;STRONG&gt;Save As&lt;/STRONG&gt; and save the Notepad file as a Text Document but give it the file extension of .scr (not .txt). &amp;nbsp;For example, &lt;STRONG&gt;MyBlockReplace.scr&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Back in AutoCAD give the script command and reference your .scr file.&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;~Lee&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 21:42:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-block-replace-with-spreadsheet/m-p/6796798#M244790</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2017-01-10T21:42:05Z</dc:date>
    </item>
  </channel>
</rss>

