<?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: Replace block in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/8876358#M221929</link>
    <description>&lt;P&gt;Nothing to do with the Version, but with your blocks.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/francais/ct-p/5054" target="_blank"&gt;https://forums.autodesk.com/t5/francais/ct-p/5054&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Adesk Express Blockreplace function is a very old dinosaur, it isn't the right tool for using with new features like dynamic blocks and annotation scales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works as designed, decades before&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 12:26:56 GMT</pubDate>
    <dc:creator>cadffm</dc:creator>
    <dc:date>2019-06-27T12:26:56Z</dc:date>
    <item>
      <title>Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169837#M221920</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Here I have got some tough task, I have n number of blocks with unidentical names, I want to replace all those blocks with a newly created block. Could &amp;nbsp;you please guide me to complete this task? TIA&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 06:17:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169837#M221920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T06:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169871#M221921</link>
      <description>&lt;P&gt;@Anonymous hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="_xXc"&gt;
&lt;DIV class="_zXc"&gt;&lt;STRONG&gt;Follow these steps:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="_yXc"&gt;
&lt;OL class="_jYe"&gt;
&lt;LI class="_AXc"&gt;Make sure that the new block you want to insert is defined in the drawing. ...&lt;/LI&gt;
&lt;LI class="_AXc"&gt;Choose Express&amp;gt; Blocks&amp;gt; Replace Block with Another Block or enter blockreplace on the command line.&lt;/LI&gt;
&lt;LI class="_AXc"&gt;In the BLOCKREPLACE dialog box, choose the block that you want to replace from the list of blocks in the drawing.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Jun 2017 06:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169871#M221921</guid>
      <dc:creator>ennujozlagam</dc:creator>
      <dc:date>2017-06-22T06:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169906#M221922</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a drawing with n number of blocks with unidentical names, here I want to replace all those blocks with a newly created block or rename all other blocks with the new name. Is there any possibility to do that??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If needed I can attach the drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 06:58:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169906#M221922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T06:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169927#M221923</link>
      <description>&lt;P&gt;@Anonymous hello, you can try to check it &lt;A href="https://autocadtips1.com/2012/01/04/replace-selected-blocks/" target="_self"&gt;&amp;lt;&amp;lt;click HERE&amp;gt;&amp;gt;&lt;/A&gt;. thanks &lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7169927#M221923</guid>
      <dc:creator>ennujozlagam</dc:creator>
      <dc:date>2017-06-22T07:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7170892#M221924</link>
      <description>&lt;P&gt;Another one is &lt;STRONG&gt;BlockReplace.lsp&lt;/STRONG&gt;, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/find-and-replace-group-of-blocks-that-are-selected/m-p/4333482#M313227" target="_self"&gt;here&lt;/A&gt;, with the &lt;STRONG&gt;BRS&lt;/STRONG&gt; command it contains [= &lt;STRONG&gt;B&lt;/STRONG&gt;lock &lt;STRONG&gt;R&lt;/STRONG&gt;eplace, &lt;STRONG&gt;S&lt;/STRONG&gt;elected].&amp;nbsp; It also has a &lt;STRONG&gt;BRA&lt;/STRONG&gt; command [= &lt;STRONG&gt;B&lt;/STRONG&gt;lock &lt;STRONG&gt;R&lt;/STRONG&gt;eplace, &lt;STRONG&gt;A&lt;/STRONG&gt;ll] in which you pick &lt;EM&gt;one&lt;/EM&gt; insertion of the Block you want replaced, and it replaces &lt;EM&gt;all&lt;/EM&gt; insertions of that Block with the specified replacement Block.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 13:41:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7170892#M221924</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-06-22T13:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7171380#M221925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in 0in 7.5pt 0in;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: black;"&gt;I see that you are visiting as a new member.&lt;SPAN class="apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: olive;"&gt;Welcome to the Autodesk Community!&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If the great suggestions in this thread don't get your blocks replaced the way you want, please attach a sample file and I am happy to take a look if there is another way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7171380#M221925</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2017-06-22T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7198407#M221926</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;Hereby I have attached the AutoCA drawing for you reference. In the attachment you can find two different types of blocks with nonidentical names. i just want to replace those blocks with new other two blocks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:30:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7198407#M221926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-02T13:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7198796#M221927</link>
      <description>&lt;P&gt;I think you're out of luck.&amp;nbsp; There are&amp;nbsp;close to&amp;nbsp;&lt;EM&gt;7,000&lt;/EM&gt;&amp;nbsp; (!) Blocks in that drawing, apparently every one with &lt;EM&gt;its own separate&amp;nbsp;Block name&lt;/EM&gt;, every one inserted only &lt;EM&gt;once&lt;/EM&gt;, and worst of all, &lt;EM&gt;every one defined with its insertion base point in the same place!&lt;/EM&gt;&amp;nbsp; So no Block's insertion point has any logical or repeatable relationship to its image elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any routine designed to replace Blocks is going to &lt;EM&gt;keep their insertion points&lt;/EM&gt;, scale factors and rotations as they are, and just put in a replacement Block of a different name, using all those properties.&amp;nbsp; I Zoomed in arbitrarily and found a Block 6946 near a Block 6947, and used my BlockReplace.lsp routine's BRA command to replace "all" 6947's [there was only one]&amp;nbsp;with 6946.&amp;nbsp; It did, but the replacement 6946 Block was [as it should be] inserted at the same 0,0 insertion point and 1 scale factors and 0 rotation as the 6947 Block it replaced had, which means it came in sitting right on top of the other 6946 Block nearby [which shares all those properties, as do all the rest of the Blocks in the drawing], and&lt;EM&gt; not&lt;/EM&gt; with the image elements where the 6947 Block was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like there may be only two shapes of image involved, but since there are literally thousands of each shape, with thousands of individual Block names,&amp;nbsp;all sharing the same insertion point and therefore with a different relationship of its image elements to the insertion point from every other such Block, I am at a loss to imagine a way to automate replacing all those of one shape with one Block, and all those of the other shape with another Block -- you may be stuck with doing it manually and tediously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing I thought might work, but didn't:&amp;nbsp; Since the Blocks all have their insertion points &lt;EM&gt;at 0,0&lt;/EM&gt;, I thought maybe an element in each [since they are "defined" in terms of locations &lt;EM&gt;in relation to the insertion base point&lt;/EM&gt; ] could be used out in the overall drawing as the insertion point to place a different Block with a logical insertion point.&amp;nbsp; But I tried one of the vertical-line-in-"parentheses" shapes, and got the location of the start point of the first element in it [a Polyline, I think the vertical middle line], and used that location as the start point of a Line.&amp;nbsp; It &lt;EM&gt;didn't&lt;/EM&gt; actually lie &lt;EM&gt;on&lt;/EM&gt; the endpoint of any of the elements in that Block, so that wouldn't be a viable approach.&amp;nbsp; That locational difference may be somehow because they are all&amp;nbsp;so hugely far away from the origin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the drawing was generated by some program other than AutoCAD [I was warned when opening it], can you go back to the source and see whether there are any &lt;EM&gt;option(s)&lt;/EM&gt; as to how to turn it into an AutoCAD drawing, that might give you a better result for what you're trying to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 23:27:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/7198796#M221927</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-07-02T23:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/8876264#M221928</link>
      <description>&lt;P&gt;blockreplace.lsp doesn't seem to work in 2019&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:57:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/8876264#M221928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-27T11:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/8876358#M221929</link>
      <description>&lt;P&gt;Nothing to do with the Version, but with your blocks.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/francais/ct-p/5054" target="_blank"&gt;https://forums.autodesk.com/t5/francais/ct-p/5054&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Adesk Express Blockreplace function is a very old dinosaur, it isn't the right tool for using with new features like dynamic blocks and annotation scales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works as designed, decades before&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:26:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/8876358#M221929</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-06-27T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Replace block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/12056557#M221930</link>
      <description>&lt;P&gt;Was having the same issue, and this helped much more than the built-in BLOCKREPLACE command, as the built-in command only gives a prompt to replace ALL instances of a block.&amp;nbsp; This LISP command comes in really handy if you're trying to replace only a selection of blocks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:24:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/replace-block/m-p/12056557#M221930</guid>
      <dc:creator>Josh-Riddell</dc:creator>
      <dc:date>2023-06-23T17:24:28Z</dc:date>
    </item>
  </channel>
</rss>

