<?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: help to update 2 useful LISP in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8779672#M89064</link>
    <description>&lt;P&gt;Have a look at &lt;A href="http://www.lee-mac.com" target="_blank"&gt;www.lee-mac.com&lt;/A&gt; Steal.lsp you can drive it from a lisp may be useful also.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 01:32:39 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2019-05-09T01:32:39Z</dc:date>
    <item>
      <title>help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768425#M89058</link>
      <description>&lt;P&gt;I found 2 useful LISP on this website:&amp;nbsp;&lt;A href="https://www.cadtutor.net/forum/topic/38563-exporting-multiple-blocks-in-one-dwg-to-having-them-as-individual-dwgs/" target="_blank"&gt;https://www.cadtutor.net/forum/topic/38563-exporting-multiple-blocks-in-one-dwg-to-having-them-as-individual-dwgs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;works perfectly, but I need to modify both like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bimport:&lt;/P&gt;
&lt;P&gt;I need this lisp to import all block inside a selected folder (or folder with a name written in the prompt command line) but without insert block, just IMPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wb-all:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to export all blocks to a selected folder (or folder with a name written in the prompt command line) but I add options like "export all",&amp;nbsp;"export all expect xref",&amp;nbsp;"export just xref".&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 May 2019 01:21:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768425#M89058</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-03T01:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768442#M89059</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I found 2 useful LISP on this website:&amp;nbsp;&lt;A href="https://www.cadtutor.net/forum/topic/38563-exporting-multiple-blocks-in-one-dwg-to-having-them-as-individual-dwgs/" target="_blank" rel="noopener"&gt;https://www.cadtutor.net/forum/topic/38563-exporting-multiple-blocks-in-one-dwg-to-having-them-as-individual-dwgs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;works perfectly, but I need to modify both like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bimport:&lt;/P&gt;
&lt;P&gt;I need this lisp to import all block inside a selected folder (or folder with a name written in the prompt command line) but without insert block, just IMPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wb-all:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to export all blocks to a selected folder (or folder with a name written in the prompt command line) but I add options like "export all",&amp;nbsp;"export all expect xref",&amp;nbsp;"export just xref".&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;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;another one I need for Bimport.LSP:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If block already exists inside the drawing, then lisp routine should update or replace such block(s).&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 01:52:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768442#M89059</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-03T01:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768692#M89060</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp; hi,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Attached the revised files but did not test them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bimport:&lt;/P&gt;
&lt;P&gt;I need this lisp to import all block inside a selected folder (or folder with a name written in the prompt command line) but without insert block, just IMPORT.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If block already exists inside the drawing, then lisp routine should update or replace such block(s).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;yes done&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wb-all:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to export all blocks to a selected folder (or folder with a name written in the prompt command line) but I add options like "export all",&amp;nbsp;"export all expect xref",&amp;nbsp;"export just xref".&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;there is no need to export xrefs cause they are already external files, if you want to gather them in 1 folder, eTransmit the file and delete the host drawing.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;to me it looks like the&amp;nbsp;intention of the author was to wblock only blocks so the&amp;nbsp;the fix i gave is to skip xrefs.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Note to run wb-all.lsp you need Dos Lib module for your AutoCAD version.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;enjoy&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;moshe&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 06:58:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8768692#M89060</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-05-03T06:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778196#M89061</link>
      <description>&lt;P&gt;"wb-all.lsp" works. but "BImport.lsp" does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can change the way of a folder is selected to one like&amp;nbsp;"wb-all.lsp"?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 13:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778196#M89061</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-08T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778304#M89062</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry can not i do not have dos lib installed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 13:59:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778304#M89062</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2019-05-08T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778578#M89063</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;Bimport:&lt;/P&gt;
&lt;P&gt;I need this lisp to import all block inside a selected folder (or folder with a name written in the prompt command line) but without insert block, just IMPORT.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;If block already exists inside the drawing, then lisp routine should update or replace such block(s).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my take on that one -- &lt;FONT color="#000000"&gt;&lt;STRONG&gt;BlockImport.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;STRONG&gt;&lt;FONT color="#000000"&gt;BIMP&lt;/FONT&gt;&lt;/STRONG&gt; command [I already have a custom command named BI, but you can rename this one's command name&amp;nbsp;to that].&amp;nbsp; Lightly tested.&amp;nbsp; See the comments at the top of the file.&amp;nbsp; It's modified from my own routine similar to their Bimport, called &lt;FONT color="#000000"&gt;BlockChart&lt;/FONT&gt;, that &lt;EM&gt;Inserts&lt;/EM&gt; one of each drawing in the folder into the current drawing [also attached if it's of any interest], with the Yes-to-redefine feature added.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 15:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8778578#M89063</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-05-08T15:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8779672#M89064</link>
      <description>&lt;P&gt;Have a look at &lt;A href="http://www.lee-mac.com" target="_blank"&gt;www.lee-mac.com&lt;/A&gt; Steal.lsp you can drive it from a lisp may be useful also.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 01:32:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8779672#M89064</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-05-09T01:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8780637#M89065</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Have a look at &lt;A href="http://www.lee-mac.com" target="_blank" rel="noopener"&gt;www.lee-mac.com&lt;/A&gt; Steal.lsp ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[That's not what's needed -- it&amp;nbsp;is to bring Block definitions (this thread's concern, but also other things) from &lt;EM&gt;within another drawing&lt;/EM&gt;, not to import&amp;nbsp;&lt;EM&gt;each drawing in&amp;nbsp;a folder&lt;/EM&gt;&amp;nbsp; as a Block definition, as requested.]&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 12:50:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8780637#M89065</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-05-09T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802514#M89066</link>
      <description>&lt;P&gt;both lisp routines do not redefine block.&lt;BR /&gt;&lt;BR /&gt;I need to update all block inside selected drawing to opened (current) drawing&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 16:30:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802514#M89066</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-20T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802608#M89067</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;both lisp routines do not redefine block.&lt;BR /&gt;&lt;BR /&gt;I need to update all block inside selected drawing to opened (current) drawing&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could it be just a language difference?&amp;nbsp; This part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if (wcmatch (getvar 'lastprompt) "*Redefine*")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_yes" nil); then -- answer to redefine, cancel before Inserting&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command); else -- cancel before Inserting&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is dependent on the wording of the prompt in which it asks whether you want to redefine the Block if there is already a Block definition by the same name in the current drawing.&amp;nbsp; In a different-language version of AutoCAD, that test would need to be changed, though the "_yes" answer [when appropriate] should not need to be.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 12:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802608#M89067</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-03-27T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802751#M89068</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;both lisp routines do not redefine block.&lt;BR /&gt;&lt;BR /&gt;I need to update all block inside selected drawing to opened (current) drawing&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could it be just a language difference?&amp;nbsp; This part:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if (wcmatch (getvar 'lastprompt) "*Redefine*")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command "_yes" nil); then -- answer to redefine, cancel before Inserting&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (command); else -- cancel before Inserting&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is dependent on the wording of the prompt in which it asks whether you cant to redefine the Block if there is already a Block definition by the same name in the current drawing.&amp;nbsp; In a different-language version of AutoCAD, that test would need to be changed, though the "_yes" answer [when appropriate] should not need to be.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm using US-en version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to redefine all (dynamic, regular, nested) blocks with the same name.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 18:27:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802751#M89068</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-20T18:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802813#M89069</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;both lisp routines do not redefine block.&lt;BR /&gt;&lt;FONT color="#808080"&gt;&lt;FONT color="#333333"&gt;I need to update all block inside selected &lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;drawing&lt;/FONT&gt;&lt;FONT color="#333333"&gt; to opened (current) drawing&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, there's the problem.&amp;nbsp; Message 1 said "... all block inside a selected &lt;FONT color="#ff00ff"&gt;folder&lt;/FONT&gt;&amp;nbsp;...."&amp;nbsp; That's a very different animal, and my suggested routine does a &lt;FONT color="#ff00ff"&gt;folder&lt;/FONT&gt;-full of them, with the drawings in the folder becoming the definitions of Blocks in the current drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how to pull a Block definition out of another &lt;FONT color="#ff0000"&gt;drawing&lt;/FONT&gt; file using AutoLisp&amp;nbsp;[though I would not claim that there's no way to do it], other than to Insert the whole drawing file that would bring its Block definitions along with it, but that&amp;nbsp;would not redefine any whose names are already in the current drawing.&amp;nbsp; The Design Center can do it with the Redefine-only option, but it may only be possible one Block definition at a time.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 18:58:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802813#M89069</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-05-20T18:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802910#M89070</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;both lisp routines do not redefine block.&lt;BR /&gt;&lt;FONT style="--darkreader-inline-color: #bab5ab;" color="#808080" data-darkreader-inline-color=""&gt;&lt;FONT style="--darkreader-inline-color: #d6d3cd;" color="#333333" data-darkreader-inline-color=""&gt;I need to update all block inside selected &lt;/FONT&gt;&lt;FONT style="--darkreader-inline-color: #ff3333;" color="#ff0000" data-darkreader-inline-color=""&gt;drawing&lt;/FONT&gt;&lt;FONT style="--darkreader-inline-color: #d6d3cd;" color="#333333" data-darkreader-inline-color=""&gt; to opened (current) drawing&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, there's the problem.&amp;nbsp; Message 1 said "... all block inside a selected &lt;FONT style="--darkreader-inline-color: #ff33ff;" color="#ff00ff" data-darkreader-inline-color=""&gt;folder&lt;/FONT&gt;&amp;nbsp;...."&amp;nbsp; That's a very different animal, and my suggested routine does a &lt;FONT style="--darkreader-inline-color: #ff33ff;" color="#ff00ff" data-darkreader-inline-color=""&gt;folder&lt;/FONT&gt;-full of them, with the drawings in the folder becoming the definitions of Blocks in the current drawing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how to pull a Block definition out of another &lt;FONT style="--darkreader-inline-color: #ff3333;" color="#ff0000" data-darkreader-inline-color=""&gt;drawing&lt;/FONT&gt; file using AutoLisp&amp;nbsp;[though I would not claim that there's no way to do it], other than to Insert the whole drawing file that would bring its Block definitions along with it, but that&amp;nbsp;would not redefine any whose names are already in the current drawing.&amp;nbsp; The Design Center can do it with the Redefine-only option, but it may only be possible one Block definition at a time.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I just need a batch update (redefine) all my (dynamic, regular, nested) blocks. no matter if is since a folder or a drawing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...I will adapt my needs to whatever.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 19:48:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802910#M89070</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2019-05-20T19:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: help to update 2 useful LISP</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802965#M89071</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;....&amp;nbsp; Message 1 said "... all block inside a selected &lt;FONT color="#ff00ff" data-darkreader-inline-color=""&gt;folder&lt;/FONT&gt;&amp;nbsp;...."&amp;nbsp; That's a very different animal, and my suggested routine does a &lt;FONT color="#ff00ff" data-darkreader-inline-color=""&gt;folder&lt;/FONT&gt;-full of them....
&lt;P&gt;I don't know how to pull a Block definition out of another &lt;FONT color="#ff0000" data-darkreader-inline-color=""&gt;drawing&lt;/FONT&gt; file using AutoLisp&amp;nbsp;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I just need a batch update (redefine) all my (dynamic, regular, nested) blocks. no matter if is&amp;nbsp;&lt;FONT color="#999999"&gt;{from}&lt;/FONT&gt; a folder or a drawing.&amp;nbsp; ...I will adapt my needs to whatever.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that it really &lt;EM&gt;does&lt;/EM&gt;&amp;nbsp; matter, quite a lot,&amp;nbsp;to the procedure involved, whether the definitions are coming from a folder or a drawing.&amp;nbsp; It's not too difficult if they're separate drawing files in a folder [that's what the BlockImport.lsp code in Message 6 is designed to do].&amp;nbsp; If it's true that you can adapt it for your needs, to get updated Block definitions out of a single drawing instead, then go for it.&amp;nbsp; My guess is that the way to do so, if the Design Center is too cumbersome,&amp;nbsp;would be to first open up that drawing and use something like wb-all.lsp in Message 1 to&amp;nbsp;WBLOCK all its Block definitions out to a new folder, and &lt;EM&gt;then&lt;/EM&gt;&amp;nbsp; use something like BlockImport.lsp to pull those definitions from that new folder into another drawing.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 20:13:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-to-update-2-useful-lisp/m-p/8802965#M89071</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-05-20T20:13:43Z</dc:date>
    </item>
  </channel>
</rss>

