<?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: block replace with undefined block in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6365140#M276180</link>
    <description>Go ask in the LISP forum for help writing some code to do what you want if you can't find free lisp routines with Google Search (I see about a dozen at the moment with a simple search) &lt;A href="http://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1" target="_blank"&gt;http://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1&lt;/A&gt;</description>
    <pubDate>Fri, 03 Jun 2016 18:54:24 GMT</pubDate>
    <dc:creator>pendean</dc:creator>
    <dc:date>2016-06-03T18:54:24Z</dc:date>
    <item>
      <title>block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364743#M276177</link>
      <description>&lt;P&gt;Is there an efficient way to replace an existing block with a new block that is not defined in the drawing in one command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to script a title replacement across a big set of drawings. &amp;nbsp;The current drawing contains "title-old" and I'd like to replace it with "title-new" that is not yet inserted/defined in the drawing. &amp;nbsp;The names of the blocks are different, I can't change that. &amp;nbsp;I can do this with a few steps, but it's messy (insert first in some place to the side, then replace, then delete the bogus insert).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to simply say "insert path\title-new in place of title-old" somehow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using -INSERT and -BLOCKREPLACE. &amp;nbsp;Maybe there is a better way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 15:59:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364743#M276177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364895#M276178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;sdmcfarland,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The block substituion is the correct way to go:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-INSERT oldblock=newblock&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be aware though that if any attributes exist in the block and have already had values input then you will have to run Attsync or battman to get them to&amp;nbsp;update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could explore running a script to so all of this or use the Action Recorder to make a macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808000"&gt;Please hit the Accept as Solution button if my post fully solves your issue or answers your question.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:57:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364895#M276178</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2016-06-03T16:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364995#M276179</link>
      <description>&lt;P&gt;Thanks John. &amp;nbsp;I'm sorry I didn't clarify,&amp;nbsp;my problem with this method is that it retains the "oldblock" name, just updating the content of the block. &amp;nbsp;My requirement is to replace oldblock with newblock, and I need the new block to have its newblock name.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 17:46:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6364995#M276179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T17:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6365140#M276180</link>
      <description>Go ask in the LISP forum for help writing some code to do what you want if you can't find free lisp routines with Google Search (I see about a dozen at the moment with a simple search) &lt;A href="http://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1" target="_blank"&gt;http://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1&lt;/A&gt;</description>
      <pubDate>Fri, 03 Jun 2016 18:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6365140#M276180</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2016-06-03T18:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6366270#M276181</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;Thanks John. &amp;nbsp;I'm sorry I didn't clarify,&amp;nbsp;my problem with this method is that it retains the "oldblock" name, just updating the content of the block. &amp;nbsp;My requirement is to replace oldblock with newblock, and I need the new block to have its newblock name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can add these 2&amp;nbsp;lines&amp;nbsp;after the insert..&lt;/P&gt;
&lt;P&gt;-rename b &amp;lt;old block&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;new block&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 04:21:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6366270#M276181</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-06-05T04:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: block replace with undefined block</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6366274#M276182</link>
      <description>&lt;P&gt;You may also insert an instance of the block then&amp;nbsp;delete it (just so that autocad fnds it and include it's definition)&lt;/P&gt;
&lt;P&gt;then use -blockreplace and purge the unused block when asked..&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 04:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/block-replace-with-undefined-block/m-p/6366274#M276182</guid>
      <dc:creator>elshawadfy</dc:creator>
      <dc:date>2016-06-05T04:31:09Z</dc:date>
    </item>
  </channel>
</rss>

