<?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: Sequential numbering with suffix only for identical blocks in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10861268#M50924</link>
    <description>&lt;P&gt;That's indeed what we were thinking about. I think it will be the easiest way to solve this...&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 06:36:58 GMT</pubDate>
    <dc:creator>yannick.vanwallendael67GKS</dc:creator>
    <dc:date>2022-01-06T06:36:58Z</dc:date>
    <item>
      <title>Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10839612#M50915</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to LISP and I've looked for existing topics that do the trick for us but we did not manage to find any sufficient solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we're basically trying to do is creating schemes with existing blocks from an existing library. Each block has its own attributes concerning codes, descriptions, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we've inserted all our needed blocks we would like to automatically number all these blocks in the drawing, BUT identical blocks (i.e. only identical blocks with identical attribute information) need to be numbered with the same number along with a suffix (letter).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So e.g. we've used 6 blocks of which 3 are fully identical then we would like to have the numbering as follows: 01, 02, 03, 04A, 04B, 04C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 10:48:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10839612#M50915</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2021-12-23T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10842752#M50916</link>
      <description>&lt;P&gt;You can try ALTEXT.&lt;/P&gt;
&lt;P&gt;Download it from &lt;A href="https://sites.google.com/site/cadkits/home/altext" target="_blank" rel="noopener"&gt;here&lt;/A&gt;, try it as a trial version or get a free registration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 1. Use ALTEXT to change all target attribute value to 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ALTEXT4.gif" style="width: 636px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1004859iCA92F7A4FE9B911B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ALTEXT4.gif" alt="ALTEXT4.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 2. Draw a polyline or polylines to represent number sequence paths near the target attributes.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ALTEXT5.gif" style="width: 636px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1004860i780D3D33C8CC2F30/image-size/large?v=v2&amp;amp;px=999" role="button" title="ALTEXT5.gif" alt="ALTEXT5.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3. Download &lt;A href="https://sites.google.com/site/cadkits/home/altext" target="_blank" rel="noopener"&gt;Formula 15&lt;/A&gt;, then use ALTEXT with "Along paths" and "Use formula" option to change target numbers.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ALTEXT6.gif" style="width: 642px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1004861i6F704F58B8EA7F33/image-size/large?v=v2&amp;amp;px=999" role="button" title="ALTEXT6.gif" alt="ALTEXT6.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2021 21:46:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10842752#M50916</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2021-12-25T21:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10847021#M50917</link>
      <description>&lt;P&gt;Just curious, are you referring to the INSERTs of of these BLOCKs?&lt;/P&gt;&lt;P&gt;And about 'numbering,' what do want, in Autocad terminology?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 18:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10847021#M50917</guid>
      <dc:creator>stevor</dc:creator>
      <dc:date>2021-12-28T18:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857266#M50918</link>
      <description>&lt;P&gt;Thanks, it helps us out a little bit but it is not yet what we are looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to be able to select all the blocks in our file together without drawing a polyline. Whereafter all blocks will be numbered (e.g. Left-Right/ Up-Down, identical blocks will be given an alphabetic suffix). Actually I think you understand what I ment in the post before but it only works when the identical blocks are following up one another .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g. if I now have a combination of blocks A-A-B-B-B they will be numbered 01A-01B-02A-02B-02C. Which is what we would like to become. But when I create the combination A-B-A-B-A-B-A-B-A-B, the numbering will be 01-02-03-04-05-06-07-08-09-10 while we would like it to be 01A-02A-01B-02B-01C-02C-01D-02D-01E-02E.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And an important item for us is the fact that if numbering as above the part list will be very long because of the fact that AutoCAD only combines identical rows so it means when numbering is different(i.e. the suffix) every block will be showed individually while we would like blocks 01A, 01B and 01C being represented as item '01' in the parts list...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:04:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857266#M50918</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-04T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857274#M50919</link>
      <description>&lt;P&gt;We've defined some attributes, wherefrom one is the 'number'.&amp;nbsp; With 3woods solution it is possible to renumber this attribute, which is good but just not yet&amp;nbsp; what we desire.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more explanation read my reply above to 3wood.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:08:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857274#M50919</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-04T14:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857324#M50920</link>
      <description>&lt;P&gt;First of all, attach sample drawing with as many blocks you use.&lt;/P&gt;
&lt;P&gt;Problem&amp;nbsp; is practically unsolvable if we don't know which attributes to compare, in what order. One block can have two attributes, other five. Values of attributes can be ( a b c)( c a b) (b c a), so blocks can have same values but distributed in different order.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:29:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10857324#M50920</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2022-01-04T14:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10858814#M50921</link>
      <description>&lt;P&gt;I have updated both &lt;A href="https://sites.google.com/site/cadkits/home/altext" target="_blank" rel="noopener"&gt;ALTEXT&lt;/A&gt; and its Formula 15.&lt;/P&gt;
&lt;P&gt;Please download and replace your copy and try again.&lt;/P&gt;
&lt;P&gt;Now you don't need set the attribute representing the number sequence to 1 at beginning.&lt;/P&gt;
&lt;P&gt;You can also use all 4 methods of "Sort selection" including "Left-Right/Up-Down" and "Along paths" to define the number sequence.&lt;/P&gt;
&lt;P&gt;Alphabet limits to "Z".&lt;/P&gt;
&lt;P&gt;Here is the result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ALTEXT8.gif" style="width: 771px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1007539iDE24B6710A4B5EF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="ALTEXT8.gif" alt="ALTEXT8.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 07:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10858814#M50921</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2022-01-05T07:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10859266#M50922</link>
      <description>&lt;P&gt;Thanks very much!!! That's exactly what we were looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remains the issue with how to combine then when extracting data. Does anybody know if it's possible to combine 5 rows (01A-01B-01C-01D-01E) to just one (01)? Example below.&lt;/P&gt;&lt;P&gt;AutoCAD automatically combines identical rows but because of the fact that we have different numbers here, they will be shown individually...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannickvanwallendael67GKS_0-1641383052809.png" style="width: 821px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1007615iB6F19C0DA0A1A27F/image-dimensions/821x156?v=v2" width="821" height="156" role="button" title="yannickvanwallendael67GKS_0-1641383052809.png" alt="yannickvanwallendael67GKS_0-1641383052809.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 11:45:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10859266#M50922</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-05T11:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10861205#M50923</link>
      <description>&lt;P&gt;Do you consider creating a new attribute to represent the alphabet?&lt;/P&gt;
&lt;P&gt;eg.&lt;/P&gt;
&lt;P&gt;Attribute 1: Sequence number 01, 02, 03 ...&lt;/P&gt;
&lt;P&gt;Attribute 2: Sequence alphabet A, B, C, D, ... or blank.&lt;/P&gt;
&lt;P&gt;Attribute 3: ...&lt;/P&gt;
&lt;P&gt;Then you can fill in the first attribute with numbers only and it is easier to sort.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 05:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10861205#M50923</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2022-01-06T05:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10861268#M50924</link>
      <description>&lt;P&gt;That's indeed what we were thinking about. I think it will be the easiest way to solve this...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 06:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10861268#M50924</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-06T06:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10906664#M50925</link>
      <description>&lt;P&gt;We would like to start working again on this topic and we want to use this method &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/540432"&gt;@3wood&lt;/a&gt;. Can you foresee a formula to number the blocks (1st attribute; identical blocks will get identical numbers) with an additional option to add a letter (2nd attribute; only for multiple used blocks).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 07:45:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10906664#M50925</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-26T07:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10907293#M50926</link>
      <description>&lt;P&gt;I have updated the formula. Please download it (Formula 15) from here: &lt;A href="https://sites.google.com/site/cadkits/home/altext" target="_blank"&gt;https://sites.google.com/site/cadkits/home/altext&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please update your block definition, add the second attribute to represent the alphabet sequence and use BATTMAN to &lt;SPAN&gt;synchronize the blocks, ensure the number sequence is the first attribute and the alphabet sequence is the second attribute.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 12:42:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10907293#M50926</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2022-01-26T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10912603#M50927</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/540432"&gt;@3wood&lt;/a&gt;&amp;nbsp;I implemented your formula and tried it out, although it seemed pretty good it somehow mixes up some blocks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use 5 attributes, of which the first one is the number and the second is the alphabetic sequence. When I run the formula, 2 blocks with all attributes identical except the 3th (code) will be given the same number. See attachment. Any idea what causes this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannickvanwallendael67GKS_0-1643352976501.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1017571i53E247D697FB6047/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yannickvanwallendael67GKS_0-1643352976501.png" alt="yannickvanwallendael67GKS_0-1643352976501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Block 1A:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannickvanwallendael67GKS_1-1643353029021.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1017572i2796DA3EF11EC582/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yannickvanwallendael67GKS_1-1643353029021.png" alt="yannickvanwallendael67GKS_1-1643353029021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Block 1B:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yannickvanwallendael67GKS_3-1643353091015.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1017574i99F941D30D201D3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yannickvanwallendael67GKS_3-1643353091015.png" alt="yannickvanwallendael67GKS_3-1643353091015.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:59:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10912603#M50927</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-28T06:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential numbering with suffix only for identical blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10913147#M50928</link>
      <description>&lt;P&gt;It does the trick now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:06:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sequential-numbering-with-suffix-only-for-identical-blocks/m-p/10913147#M50928</guid>
      <dc:creator>yannick.vanwallendael67GKS</dc:creator>
      <dc:date>2022-01-28T12:06:31Z</dc:date>
    </item>
  </channel>
</rss>

