<?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: Overwrite/Redefine block with lisp in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5527985#M41179</link>
    <description>&lt;P&gt;For question on LISP, you'd stand a better chance to get answer if you post in LISP forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that said, here is a solution: in your LISP string used behind the toobar button (still toolbar, not ribbon?), you simply specify the block name like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BlockName=file_path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Lisp string may look like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "._insert" "myBlock=C:\\my blocks\\myBlock.dwg" pause pause pause pause)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2015 14:30:56 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2015-03-04T14:30:56Z</dc:date>
    <item>
      <title>Overwrite/Redefine block with lisp</title>
      <link>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5527874#M41178</link>
      <description>&lt;P&gt;I have done edits to a block on my network that already exists in multiple drawings.&amp;nbsp; Aow when I pick the command to insert the block from my toolbar, which still has the same name which exists in the current drawing database, I need it to go out to my folder and to insert the new occurence of the block and redefine it for the places it currently exists.&lt;/P&gt;&lt;P&gt;That's all very easy to do if I manually go to insert it by browsing to it, and Autocad will ask me "Do you want to redefine it?", at which point I answer Yes.&amp;nbsp; But I need to be able to put that whole process in a lisp string to do it automatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now if Autocad sees the block already in the drawing, it's going to insert it from the drawings database, and not go out and grab the new one.&amp;nbsp; I only seem to be able to do it if inserting it manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense?&amp;nbsp; If anybody knows how to do that, I would appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:18:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5527874#M41178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-04T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite/Redefine block with lisp</title>
      <link>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5527985#M41179</link>
      <description>&lt;P&gt;For question on LISP, you'd stand a better chance to get answer if you post in LISP forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that said, here is a solution: in your LISP string used behind the toobar button (still toolbar, not ribbon?), you simply specify the block name like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BlockName=file_path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Lisp string may look like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(command "._insert" "myBlock=C:\\my blocks\\myBlock.dwg" pause pause pause pause)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:30:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5527985#M41179</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2015-03-04T14:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite/Redefine block with lisp</title>
      <link>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5528004#M41180</link>
      <description>Thanks. I'll give that a try!</description>
      <pubDate>Wed, 04 Mar 2015 14:43:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/overwrite-redefine-block-with-lisp/m-p/5528004#M41180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-04T14:43:07Z</dc:date>
    </item>
  </channel>
</rss>

