<?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 rename lsp in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432319#M96044</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/copyblock.html" target="_blank"&gt;http://www.lee-mac.com/copyblock.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 07:20:30 GMT</pubDate>
    <dc:creator>dbhunia</dc:creator>
    <dc:date>2018-11-29T07:20:30Z</dc:date>
    <item>
      <title>block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432296#M96043</link>
      <description>&lt;P&gt;hello expert friends, always thanks&lt;/P&gt;
&lt;P&gt;should I get block rename lsp???&lt;/P&gt;
&lt;P&gt;there are same blocks and select blocks, and then change blocks name&lt;/P&gt;
&lt;P&gt;I attached jpg file. waitting for some help. advanced thank you all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 07:02:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432296#M96043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T07:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432319#M96044</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/copyblock.html" target="_blank"&gt;http://www.lee-mac.com/copyblock.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 07:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432319#M96044</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2018-11-29T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432568#M96045</link>
      <description>&lt;P&gt;thank you your answer.&lt;BR /&gt;but this lisp is only one selected&lt;/P&gt;
&lt;P&gt;I want it multi objects selected lsp&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:20:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432568#M96045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-29T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432754#M96046</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First thing You can not Rename the existing Blocks in a drawing with SAME name......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what I got from your attached image ...... The blocks which you want to rename, are same block with same properties (scale factor, rotation, layer .... etc.).......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In that case I suggest to copy a Block with New Name and insert the Newly Named Block in place of Old Block (The Blocks which you want to Rename) ........&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this ...... I had made some rough changes in&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/569456"&gt;@Lee_Mac&lt;/a&gt;&amp;nbsp;code....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 10:40:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432754#M96046</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2018-11-29T10:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432897#M96047</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.… should I get block rename lsp???&lt;/P&gt;
&lt;P&gt;there are same blocks and select blocks, and then change blocks name ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think &lt;FONT color="#000000"&gt;&lt;STRONG&gt;Blockreplace.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;BRS&lt;/STRONG&gt;&lt;/FONT&gt; command, &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/highlight/true#M313227" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;, may do what you want.&amp;nbsp; It allows selection of multiple Blocks to be replaced, and replaces each with the Block name you've specified, at the same rotation and scale(s), and on the same Layer, etc., as the one(s) being replaced.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 11:49:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8432897#M96047</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-11-29T11:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433869#M96048</link>
      <description>&lt;P&gt;The way I always do this is to:&lt;/P&gt;
&lt;P&gt;Select all the blocks you want to rename.&lt;/P&gt;
&lt;P&gt;Copy them with basepoint 0,0,0&lt;/P&gt;
&lt;P&gt;Paste in new drawing with basepoint 0,0,0&lt;/P&gt;
&lt;P&gt;Rename the block. (you can use the rename command)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delete the original set of blocks from the 1st drawing&lt;BR /&gt;Copy newly named blocks from 2nd drawing back into the 1st drawing with the same process as before.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 16:49:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433869#M96048</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2018-11-29T16:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433933#M96049</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/450014"&gt;@Shneuph&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The way I always do this is to:&lt;/P&gt;
&lt;P&gt;Select all the blocks you want to rename.&lt;/P&gt;
&lt;P&gt;Copy them with basepoint 0,0,0&lt;/P&gt;
&lt;P&gt;Paste in new drawing with basepoint 0,0,0&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Rename the block. (you can use the rename command)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delete the original set of blocks from the 1st drawing&lt;BR /&gt;Copy newly named blocks from 2nd drawing back into the 1st drawing with the same process as before.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above way you will Rename all the existing Blocks in the Drawing......&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the Requirement is to Rename few selected Blocks ........... Which is not possible without Copying the Block with a New Name &amp;amp; Reinserting them at the Selected Blocks Position (Simply Replacing the Selected Blocks with New one).....&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:11:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433933#M96049</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2018-11-29T17:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433946#M96050</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Select all the blocks you want to rename."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You select &lt;STRONG&gt;only the blocks you want to rename&lt;/STRONG&gt;.. Then copy them back.&amp;nbsp; The leftover blocks in dwg 1 with the same name will remain.&amp;nbsp; The ones you did the copying to will have their new name and copy back into the original drawing leaving the ones you left intentionally.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:16:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433946#M96050</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2018-11-29T17:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433970#M96051</link>
      <description>&lt;P&gt;See Screencast&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://autode.sk/2zw4CXs" target="_blank"&gt;https://autode.sk/2zw4CXs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:24:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433970#M96051</guid>
      <dc:creator>Shneuph</dc:creator>
      <dc:date>2018-11-29T17:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433974#M96052</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;This is a singular pick but generic one I believe.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;&lt;A href="https://autolispprograms.wordpress.com/rename-a-block/" target="_blank"&gt;https://autolispprograms.wordpress.com/rename-a-block/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RenameBlock.PNG" style="width: 351px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/575263iE9A6E0F24A8F20BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="RenameBlock.PNG" alt="RenameBlock.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:27:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8433974#M96052</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2018-11-29T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8434035#M96053</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... there are same blocks and select blocks, and then change blocks name ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can we get a clarification?&amp;nbsp; I'm not sure any more what you mean by "rename" and "change blocks name" in this situation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you talking about picking some of the "xo-1" Blocks in your example, and &lt;EM&gt;changing them to Blocks of the name&lt;/EM&gt; "aaa"?&amp;nbsp; That is, replacing them with "aaa" Blocks?&amp;nbsp; With "aaa" already being a Block defined in the drawing? And if the "aaa" Block definition is different from the "xo-1" Block, they would look different [which they don't in your image]?&amp;nbsp; That is what I assumed from the wording in the image, and it is what my BlockReplace.lsp routines do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or [since they &lt;EM&gt;don't&lt;/EM&gt;&amp;nbsp; look any different in your image] do you mean that you want a &lt;EM&gt;new Block definition created&lt;/EM&gt;, that is the same as the "xo-1" Block but has the new name "aaa" instead?&amp;nbsp; [Presumably you would not want two identical Block definitions under different names, but you would then edit the new one with whatever differences you need.]&amp;nbsp; If that's what you're after, there are routines out there to make a new Block out of an&amp;nbsp;existing&amp;nbsp;one, such as my&amp;nbsp;BlockDupNewName.lsp with its BDN command, which is in the .zip file attached &lt;A href="https://forums.autodesk.com/t5/autocad-forum/replce-block/m-p/5107236/highlight/true#M293621" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;, or several on the Cadalyst CAD Tips site such as &lt;A href="http://cadtips.cadalyst.com/blocks-general/create-new-blocks-old-blocks" target="_blank"&gt;&amp;gt;this one&amp;lt;&lt;/A&gt; and &lt;A href="http://cadtips.cadalyst.com/blocks-general/make-a-new-block-old-block" target="_blank"&gt;&amp;gt;this other one&amp;lt;&lt;/A&gt;, and no doubt others.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:56:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8434035#M96053</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-11-29T17:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8437794#M96054</link>
      <description>&lt;P&gt;thank you all. have a good day.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 23:54:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8437794#M96054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-30T23:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8550618#M96055</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;....&amp;nbsp;to make a new Block out of an&amp;nbsp;existing&amp;nbsp;one, such as my&amp;nbsp;&lt;FONT color="#000000"&gt;BlockDupNewName.lsp&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;BDN&lt;/FONT&gt; command....&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For anyone who finds this looking for that kind of thing, &lt;FONT color="#000000"&gt;&lt;STRONG&gt;BlockDupNewName.lsp&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;has been&amp;nbsp;upgraded [attached].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aside from making the Undo begin-end operation suited to newer versions, and a small correction, this is what's improved:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It now uses a text-editing window &lt;EM&gt;up in the screen&lt;/EM&gt;, rather than asking for a new name at the Command line.&amp;nbsp; That window is pre-populated with the name of the current Block and a hyphenated-number suffix.&amp;nbsp; So if a lot of the new name you want is the same as the old one, you can leave most of it and edit just part(s) of it, and don't need to type the whole thing in, as you did before if you didn't want the offered numerical-suffix new name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It used to ask again if you either typed in a Block name already in the drawing or only a space or spaces, but it now also asks again if you "empty" the string in the editing window to nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It used to offer a new Block name only by adding a hyphenated-number suffix on the selected Block's name.&amp;nbsp; That meant that if you had used BDN on something before, for instance starting with a Block named "Block" &lt;EM&gt;and you had accepted the offered new name of "Block-1"&lt;/EM&gt;&amp;nbsp; [or other suffixed number], and&amp;nbsp;then you later used it again on one of those "Block-1" Blocks, it used to offer "Block-1-1" as&amp;nbsp;the new name.&amp;nbsp; It now recognizes that the old name was likely the result of a BDN operation, and [whether that was the origin, or&amp;nbsp;for any Block name ending in a hyphen and number(s) only] it offers the next available number suffix, in that case offering "Block-2" [if that isn't already used, similarly incrementing up from there if it is].&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 20:47:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/8550618#M96055</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-01-25T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/11083235#M96056</link>
      <description>This program is quite useful as it saves some time to search for block names.&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2022 06:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/11083235#M96056</guid>
      <dc:creator>arpansark0544TCX</dc:creator>
      <dc:date>2022-04-05T06:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/11083303#M96057</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10617541"&gt;@arpansark0544TCX&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;This program is quite useful as it saves some time to search for block names.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" size="4"&gt;You're welcome anytime.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 06:53:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/11083303#M96057</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2022-04-05T06:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971641#M169310</link>
      <description>&lt;P&gt;I'm finding Kent1Cooper's solution quite good (Message 13,&amp;nbsp;‎01-25-2019 12:39 PM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is it possible to simplify code so that suggestion in dialogue is exactly the same as the existing name, and then let user modify string.&lt;/STRONG&gt; There is already an error handler which tests if new name is the same as existing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jan 2026 08:02:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971641#M169310</guid>
      <dc:creator>id_11</dc:creator>
      <dc:date>2026-01-10T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971791#M169316</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8375479"&gt;@id_11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is it possible to simplify code so that suggestion in dialogue is exactly the same as the existing name, and then let user modify string.&lt;/STRONG&gt; ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes -- see the attached revised version [&lt;EM&gt;minimally tested&lt;/EM&gt;].&lt;/P&gt;
&lt;P&gt;[I didn't alter the file or command names, so if you want both kinds available, rename those in one of them.]&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jan 2026 13:16:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971791#M169316</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-01-10T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971818#M169318</link>
      <description>&lt;P&gt;Thanks for the quick response Kent, it works as intended for my purpose&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jan 2026 13:54:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13971818#M169318</guid>
      <dc:creator>id_11</dc:creator>
      <dc:date>2026-01-10T13:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13972128#M169325</link>
      <description>&lt;P&gt;Just a comment &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;"Lisped" is not supported in Bricscad, V25 etc but you can make a dcl to do the same task with an Edit box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of such a dcl code, it puts the value of SC in a edit box but could be a text string. The width could be adjusted by using (strlen str) with say number of extra characters needed that way would grow or shrink depending on string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w"))
  (write-line "ddgetvalAH : dialog {" fo)
  (write-line (strcat "	label = \"Set Scale\"  ;") fo)
  (write-line " : column {" fo)
  (write-line " width =25 ;" fo)
  (write-line ": edit_box {" fo)
  (write-line  " key =  \"Key1\"  ;" fo)
  (write-line (strcat " label = \"Enter scale\" ;") fo)
  (write-line (strcat "     edit_width =  10 ;") fo)
  (write-line (strcat "     edit_limit =  9 ;") fo)
  (write-line "   is_enabled = true ;" fo)
  (write-line "   allow_accept=true ;" fo)
  (write-line "    }" fo)
  (write-line "    }" fo)
  (write-line "spacer_1 ;" fo)
  (write-line "ok_cancel;}" fo)
(close fo)
(setq dcl_id (load_dialog fname))
(if (not (new_dialog "ddgetvalAH" dcl_id))
    (exit)
)
(set_tile "Key1" (rtos sc 2 0))
(action_tile "accept" "(setq sc (get_tile \"Key1\"))(done_dialog)")
(action_tile "cancel" "(done_dialog)")
(start_dialog)
(unload_dialog dcl_id)
(vl-file-delete fname)&lt;/LI-CODE&gt;&lt;P&gt;Apart from varaible name changes as your dealing with strings dont need the (rtos sc 2 0)&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2026 00:05:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13972128#M169325</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-01-11T00:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: block rename lsp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13972416#M169340</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;Just a comment &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;"Lisped" is not supported in Bricscad....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;[Just a comment,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;:&amp;nbsp; Bricscad is not the subject of this Forum.]&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jan 2026 11:19:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/block-rename-lsp/m-p/13972416#M169340</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-01-11T11:19:01Z</dc:date>
    </item>
  </channel>
</rss>

