<?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 changing block names in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397209#M210206</link>
    <description>&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 100 of blocks in my dwg and the block names listed below&lt;/P&gt;&lt;P&gt;BLK_LT_CCT_01&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_03&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_05&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_06&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_07&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_08&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible to select all of those blocks and change the block name into&amp;nbsp;BLK_LT_CCT_001 only?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a LISP or fastest way to solve this?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ram,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2017 08:31:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-21T08:31:38Z</dc:date>
    <item>
      <title>changing block names</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397209#M210206</link>
      <description>&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 100 of blocks in my dwg and the block names listed below&lt;/P&gt;&lt;P&gt;BLK_LT_CCT_01&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_03&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_05&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_06&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_07&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BLK_LT_CCT_08&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible to select all of those blocks and change the block name into&amp;nbsp;BLK_LT_CCT_001 only?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a LISP or fastest way to solve this?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ram,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397209#M210206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T08:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: changing block names</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397371#M210207</link>
      <description>&lt;P&gt;If they are all different blocks, why would you want to have them all as one block?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not possible, as far as I know to rename multiple blocks to one name.&lt;/P&gt;
&lt;P&gt;The rename command fails to do so (see attached) because it wants each&lt;/P&gt;
&lt;P&gt;separate block renamed to have a different name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a new block with all of them as nested blocks,&lt;/P&gt;
&lt;P&gt;so that when you explode the new block, all the nested blocks are now present&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as blocks in their own right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael Kovacik&lt;BR /&gt;AutoCAD 2d &amp;amp; 3d (29 yrs)&amp;amp; Inventor (7 yrs) &lt;BR /&gt;Manufacturing (30 yrs) Draughtsman&lt;BR /&gt;Autodesk Product Design Suite Ultimate 2018&lt;BR /&gt;Johannesburg, South Africa&lt;/P&gt;
&lt;P&gt;Autocad 2018, Inventor Pro 2018&lt;BR /&gt;(and recently Autocad Customisation)&lt;/P&gt;
&lt;P&gt;(Impossible only means you haven't &lt;BR /&gt;found the solution yet)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 09:40:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397371#M210207</guid>
      <dc:creator>MikeKovacik4928</dc:creator>
      <dc:date>2017-09-21T09:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: changing block names</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397430#M210208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;Is it possible to select all of those blocks and change the block name into&amp;nbsp;BLK_LT_CCT_001 only?&lt;/EM&gt;&lt;/FONT&gt; &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i would like to say the follow :&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;there is NO need to select all blocks (as you said) for &lt;U&gt;renaming&lt;/U&gt; procedure.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;blocks MUST have their own specified names.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;since you have 100 block then you will have 100 block name.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;if you tell us what you want to achieve you may found more suitable solutions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 10:01:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7397430#M210208</guid>
      <dc:creator>imadHabash</dc:creator>
      <dc:date>2017-09-21T10:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: changing block names</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7398116#M210209</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 100 of blocks in my dwg and the block names listed below&lt;/P&gt;
&lt;P&gt;BLK_LT_CCT_01&lt;/P&gt;
&lt;P&gt;....&lt;SPAN&gt;&lt;SPAN&gt;And so on.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it possible to select all of those blocks and change the block name into&amp;nbsp;BLK_LT_CCT_001 only?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there a LISP or fastest way to solve this?.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If by "chang[ing] the block name" you mean you want to &lt;EM&gt;replace&lt;/EM&gt;&amp;nbsp; all those similarly-named Blocks with equivalent insertions of just the &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp; Block named&amp;nbsp;BLK_LT_CCT_001, you can use &lt;STRONG&gt;BlockReplace.lsp&lt;/STRONG&gt; [attached].&amp;nbsp; Use its &lt;STRONG&gt;BRS&lt;/STRONG&gt; command [which stands for &lt;STRONG&gt;B&lt;/STRONG&gt;lock &lt;STRONG&gt;R&lt;/STRONG&gt;eplace, &lt;STRONG&gt;S&lt;/STRONG&gt;elected], and when it asks for:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; Block to Replace existing Block(s) with &amp;lt;&lt;/FONT&gt;&lt;FONT color="#ffcc00"&gt;it will offer Insert's default if any&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&amp;gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;give it &lt;FONT color="#ff0000"&gt;BLK_LT_CCT_001&lt;/FONT&gt;, and when it says:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; To replace Block insertion(s) with BLK_LT_CCT_001,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp; Select objects:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;give it &lt;FONT color="#ff0000"&gt;(ssget "_X" '((2 . "&lt;SPAN&gt;BLK_LT_CCT_&lt;/SPAN&gt;*")))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to find all Block insertions whose names start that way.&amp;nbsp; It will replace them all, keeping each one's Layer, insertion point, scale factor(s), rotation, etc., and just changing them to be insertions of the&lt;FONT color="#000000"&gt; BLK_LT_CCT_001 Block instead.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:39:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/7398116#M210209</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-21T13:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: changing block names</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/8474294#M210210</link>
      <description>&lt;P&gt;&lt;SPAN&gt;can you share how you did&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 06:09:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/changing-block-names/m-p/8474294#M210210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T06:09:32Z</dc:date>
    </item>
  </channel>
</rss>

