<?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: Need help counting support quantities, can you please help? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239101#M172385</link>
    <description>&lt;P&gt;I also tried replying to the email I got from autodesk, can you let me know if you got the email please. if not, then I'll type it in here again. lol&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2026 03:00:22 GMT</pubDate>
    <dc:creator>israelU7LZU</dc:creator>
    <dc:date>2026-08-20T03:00:22Z</dc:date>
    <item>
      <title>Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14238558#M172376</link>
      <description>&lt;P&gt;Good day to you Gentlemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not proficient in lisp programing, I don't quite understand the programing language. that's why I come seeking your help on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to come up with a way to count supports quantities and add them up by height and create some sort of list in numerical order. is there a way to do these things?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please let me know what other info is needed to make this happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2026 16:11:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14238558#M172376</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-19T16:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14238709#M172379</link>
      <description>&lt;P&gt;Thanks for sharing your drawing.&lt;/P&gt;&lt;P&gt;Perhaps you can explain more as to what are "&lt;SPAN&gt;supports quantities" that can be found in the sample drawing?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2026 18:14:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14238709#M172379</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2026-08-19T18:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239010#M172382</link>
      <description>&lt;P&gt;Are you saying you want to know how many 8", 3-3/4", 11-1/4" and so on ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May need a convert mtext to a decimal and back again etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may have something already it currently checks for blocks and makes a table result. It will cost you a cup of coffee. Watch this space.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2026 22:53:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239010#M172382</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-08-19T22:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239098#M172384</link>
      <description>&lt;P&gt;Good day Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I replied to the email I got from AutoDesk when you replied to my question. did you get that email or do I need to reply here again? please let me know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 02:59:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239098#M172384</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-20T02:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239101#M172385</link>
      <description>&lt;P&gt;I also tried replying to the email I got from autodesk, can you let me know if you got the email please. if not, then I'll type it in here again. lol&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 03:00:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239101#M172385</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-20T03:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239102#M172386</link>
      <description>&lt;P&gt;Unless you post your reply here others in the community like myself cannot see it since we don't work for autodesk.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 03:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239102#M172386</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2026-08-20T03:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239107#M172387</link>
      <description>&lt;DIV class=""&gt;Hi Paullimapa, and thank you for taking the time to reply to my inquiry&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;In this type of work, we work with banded and uniform cables, which they need support at different heights. Please see Band Support Snap&amp;nbsp; and Uniform Support Snap, I would like to figure out how to count how many Supports (Chairs) are needed of each height and create a list in numerical order. Is that possible?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Please let me know if you have any questions about these drawings.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you very much for your help.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Aug 2026 03:06:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239107#M172387</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-20T03:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239126#M172388</link>
      <description>&lt;P&gt;Not sure if there's a way to automate this.&lt;/P&gt;&lt;P&gt;But perhaps you can explain a bit further by looking at the below screenshot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paullimapa_0-1787197483369.png" style="width: 787px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657273iEFCC77161C793A54/image-dimensions/787x303?v=v2" width="787" height="303" role="button" title="paullimapa_0-1787197483369.png" alt="paullimapa_0-1787197483369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see 2 plines drawn on layer:: "TENDON-BANDED-BACKGROUND"&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a call out up top 8 SPA&amp;nbsp;@ 36 1/2" and 8 SPA&amp;nbsp;@ 36" drawn as&amp;nbsp;DIMENSION on Layer: "DIMENSION-UNIFORM-SUPPORT"&lt;/P&gt;&lt;P&gt;Next there are all those 16 short but same length vertical plines drawn on&amp;nbsp;Layer: "SUPPORT-BARS-BANDED"&lt;/P&gt;&lt;P&gt;These plines all have different #s on top such as 4 3/4", 3 1/4", 2 1/4", 2", 2 3/4", 5", 8 1/2" and etc. all as Mtext on Layer:&amp;nbsp;"SUPPORT-TEXT-BANDED"&lt;/P&gt;&lt;P&gt;Now looking at this how do you manually &lt;SPAN&gt;count supports quantities and add them up by height and create a list in numerical order?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 03:57:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239126#M172388</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2026-08-20T03:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239135#M172389</link>
      <description>&lt;P&gt;&lt;SPAN&gt;every plines drawn on layer:: "TENDON-BANDED-BACKGROUND" is considered a bundle.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;those 16 short but same length vertical plines drawn on&amp;nbsp;Layer: "SUPPORT-BARS-BANDED" are the support bars.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the different #s on top such as 4 3/4", 3 1/4", 2 1/4", 2", 2 3/4", 5", 8 1/2" and etc. all as Mtext on Layer:&amp;nbsp;"SUPPORT-TEXT-BANDED" are called "chairs"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;having said that, for every so many bundles, we need a determined number of chairs. see below please.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1 to 3 Bundles (TENDON-BANDED-BACKGROUND)= Needs 2 Support Chairs (SUPPORT-TEXT-BANDED)&lt;BR /&gt;4 to 5 Bundles&amp;nbsp;(TENDON-BANDED-BACKGROUND) = Needs 3 Support Chairs&amp;nbsp;(SUPPORT-TEXT-BANDED)&lt;BR /&gt;6 to 7 Bundles&amp;nbsp;(TENDON-BANDED-BACKGROUND) = Needs 4 Support Chairs&amp;nbsp;(SUPPORT-TEXT-BANDED)&lt;BR /&gt;8 to 9 Bundles&amp;nbsp;(TENDON-BANDED-BACKGROUND) = Needs 5 Support Chairs&amp;nbsp;(SUPPORT-TEXT-BANDED)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;typically, I will find a chair height, for example 3 1/4", I will find all the chair height that are the same and figure out the quantity of chairs needed at the height based on the number of tendon bundles. on the snap you sent, there are two 3 1/4" chairs, and there are two bundles of cables, that means I need 2 chairs for every 3 1/4" height I find, since there are two of them. I know I need 4 chairs at 3 1/4" height. and I will repeat this for every different chair height and bundles I find.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is only for the Banded cables. then I have to do count the supports for the uniform cables which are done slightly different. I hope I was clear&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 04:17:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239135#M172389</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-20T04:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239182#M172390</link>
      <description>&lt;P&gt;1st up this is a chair used in concrete slabs. They can be different heights and I think is what we are talking about.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1787204752423.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657281iA76F77EAA555F623/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1787204752423.png" alt="SeaHaven_0-1787204752423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is what you want, as the first step to select the chair text, I used;&lt;/P&gt;&lt;P&gt;(setq ss (ssget (list (cons 0 "MTEXT")(cons 8 "SUPPORT-TEXT-BANDED"))))&lt;/P&gt;&lt;P&gt;Then when asked to select you type "WP" this allows you to select a window on angle. If the dwg is horizontal then do not need the wp as a default selection is a window.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_2-1787204881856.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657283iF98F3B0C95C70562/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_2-1787204881856.png" alt="SeaHaven_2-1787204881856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PS 44 selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You now have a selection set of the chairs so can get text, sort and count how many of each type then multiply by the number of tendons. Working on it have an answer for blocks need to edit to match chairs text.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2026 05:52:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14239182#M172390</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-08-20T05:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14241239#M172439</link>
      <description>&lt;P&gt;Almost there just have to add multiply by number of tendons and sort the height correctly, need to convert like "2 1/2" to 2.5 etc so sort works correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1787209806531.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1657297i046F765932F762EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1787209806531.png" alt="SeaHaven_0-1787209806531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks to lee-mac for strip mtext and Gile for do count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also need to manually check count is correct, but shows something can be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The biggest problem is taking the mtext and convert to a decimal number, in the mtext there is like 4 variations in what is used, inches only, inch &amp;amp; fractions, fractions only, different text but with suffixes and again a mix of inches and fractions. Working on that.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2026 02:33:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14241239#M172439</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-08-22T02:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243271#M172456</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;&lt;SPAN&gt;.... The biggest problem is taking the mtext and convert to a decimal number, in the mtext there is like 4 variations in what is used, inches only, inch &amp;amp; fractions, fractions only, different text but with suffixes and again a mix of inches and fractions. Working on that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's mostly not an issue, because the&lt;FONT face="courier new,courier" size="4" color="#000000"&gt;&lt;STRONG&gt; (distof)&lt;/STRONG&gt; &lt;/FONT&gt;function can work with all of those possibilities &lt;EM&gt;except&lt;/EM&gt; the suffixes.&amp;nbsp; It can handle it whether or not there is a fraction involved, whether or not [as some might do] you use a hyphen between inches and fractions, whether or not you include the inches mark at the end, and if the distances get big enough to include feet.&amp;nbsp; Even if the content is &lt;EM&gt;already&lt;/EM&gt; a decimal number, with or without the inches mark, it can work with that, returning it as a decimal.&amp;nbsp; Assuming no other internal Mtext formatting [like font or color or height overrides] to complicate things, these all convert to good decimal equivalents for sorting:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2 1/2\"")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;with fraction and inches mark, without hyphen&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2-1/2\"")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;with fraction and inches mark, including hyphen&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2-1/2")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;with fraction and hyphen but no inches mark&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;no fraction, no inches mark&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2\"")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;no fraction, with inches mark&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2'-2 3/4\"")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;including feet&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;26.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2.5\"")&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt; &lt;FONT size="2"&gt;already decimal, with inches mark&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;2.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But the suffix spoils it, so something would need to be done to pare it down to just the distance content.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(distof "2-1/2\" S.B.")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;nil&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 17:47:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243271#M172456</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-08-24T17:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243575#M172457</link>
      <description>&lt;P&gt;Im sorry I'd been absent from the forum. I'd been busy counting supports by hand :D. I really appreciate the advances you have done on helping me resolve this matter. I would gladly compensate, if it is allowed, for all your help.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 22:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243575#M172457</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-24T22:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243578#M172458</link>
      <description>&lt;P&gt;you are right about the chairs used in concrete slabs&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 23:02:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243578#M172458</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-24T23:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243595#M172459</link>
      <description>&lt;P&gt;It is close keep going back to it, bit busy at moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;I found the simplest way was to split the text after removing the Mtext control into a List. Also remove inch ". Did look at distof and found the string problems.&lt;/P&gt;&lt;P&gt;"\\W0.8000;11 {\\A1;\\H0.7x;\\S1#4;}\"" = ("11" "1/4")&lt;/P&gt;&lt;P&gt;"\\A1; {\\H0.7x;\\S3#4;}\" S.B." = ("3/4" "S.B")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then look at the list only the first and second item if it exists in list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working on it, hopefully today.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 23:38:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14243595#M172459</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-08-24T23:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14244083#M172460</link>
      <description>Hi Paullimapa, and thank you for taking the time to reply to my inquiry&lt;BR /&gt;&lt;BR /&gt;In this type of work, we work with banded and uniform cables, which they need support at different heights. Please see Snap 1 and Snap 2, I would like to figure out how to count how many Supports (Chairs) are needed of each height and create a list in numerical order. Is that possible?&lt;BR /&gt;&lt;BR /&gt;Please let me know if you have any questions about these drawings.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;Snap 1 Band Support&lt;BR /&gt;&lt;BR /&gt;[cid:454e8255-03ee-481a-9afc-2c147986a1fe]&lt;BR /&gt;&lt;BR /&gt;Snap 2 Uniform Support&lt;BR /&gt;&lt;BR /&gt;[cid:38212a13-2b26-4f3e-95f1-5e6acae65fcd]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Aug 2026 10:56:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14244083#M172460</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-25T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14244156#M172461</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;&lt;SPAN&gt;.... Did look at distof and found the string problems.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"\\W0.8000;11 {\\A1;\\H0.7x;\\S1#4;}\"" = ("11" "1/4")&lt;/P&gt;
&lt;P&gt;"\\A1; {\\H0.7x;\\S3#4;}\" S.B." = ("3/4" "S.B")&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So there &lt;EM&gt;is&lt;/EM&gt;&amp;nbsp;[at least sometimes] internal Mtext formatting -- that would be necessary given the stacked fractions in the sample drawing.&amp;nbsp; Fortunately, the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (getpropertyvalue)&lt;/STRONG&gt; &lt;/FONT&gt;function can give you the text content &lt;EM&gt;either &lt;FONT color="#FF0000"&gt;with&lt;/FONT&gt; or &lt;FONT color="#0000FF"&gt;without&lt;/FONT&gt; that formatting&lt;/EM&gt;.&amp;nbsp; If&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; txt&lt;/STRONG&gt; &lt;/FONT&gt;is a variable holding the entity name of this Mtext object [with its Contents showing in the Properties palette]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1787655318765.png" style="width: 332px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1658025i939511ABEE86D087/image-dimensions/332x50?v=v2" width="332" height="50" role="button" title="Kent1Cooper_0-1787655318765.png" alt="Kent1Cooper_0-1787655318765.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then you can pull that Contents string using&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (getpropertyvalue)&lt;/STRONG&gt; &lt;/FONT&gt;instead of the&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (assoc 1)&lt;/STRONG&gt; &lt;/FONT&gt;entry in entity data:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT size="2"&gt;Command: &lt;/FONT&gt;&lt;STRONG&gt;(getpropertyvalue txt "&lt;FONT color="#FF0000"&gt;Contents&lt;/FONT&gt;")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;"\\A1;3 {\\H0.7x;\\S5#8;}\""&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#FF00FF"&gt;&lt;STRONG&gt;But&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;EM&gt;you can get it without the formatting directly&lt;/EM&gt;&lt;/STRONG&gt;, using a different Property:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT size="2"&gt;Command: &lt;/FONT&gt;&lt;STRONG&gt;(getpropertyvalue txt "&lt;FONT color="#0000FF"&gt;Text&lt;/FONT&gt;")&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#0000FF"&gt;&lt;STRONG&gt;"3 5/8\""&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and then you can use&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (distof)&lt;/STRONG&gt; &lt;/FONT&gt;on it as above.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 11:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14244156#M172461</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2026-08-25T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14245060#M172467</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;for that idea, should be able to remove a defun that worked out fractions of a inch, need that for the sort function, make a list of (3.75&amp;nbsp; "3 3/4").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Give this a try. I did find one value sorted wrong for the entire dwg. Will look into why that happened.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PLEASE CHECK COUNTS ! If incorrect let me know.&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/td-p/14238558
; layer SUPPORT-TEXT-BANDED
;Take text and make them into a table 
; counting the text also
; by Alan H Aug 2026

(vl-load-com)

(defun AH:table_make (numcolumns txtsz / numrows curspc colwidth numcolumnsobjtable rowheight sp doc)
  (setq sp (vlax-3d-point (getpoint "Pick top left")))
  (setq doc(vla-get-activedocument (vlax-get-acad-object) ))
  (if (= (vla-get-activespace doc) 0)
    (setq curspc (vla-get-paperspace doc))
    (setq curspc (vla-get-modelspace doc))
  )
  (setq numrows 2)
  (setq rowheight txtsz)
  (setq colwidth 100)
  (setq objtable (vla-addtable curspc sp numrows numcolumns rowheight colwidth))
  (vla-settext objtable 0 0 "TABLE title")
  (vla-SetTextHeight Objtable (+ acDataRow acTitleRow acHeaderRow) txtsz)
  (vla-SetText Objtable 0 0 "Chairs")
  (vla-SetText Objtable 1 0 "Size")
  (vla-SetText Objtable 1 1 "Count")
  (setq obj2 (vlax-ename-&amp;gt;vla-object (entlast)))
  (vla-Setcolumnwidth obj2 0 (* 6 txtsz))
  (vla-Setcolumnwidth obj2 1 (* 4.5 txtsz))
  (setq obj2 (vlax-ename-&amp;gt;vla-object (entlast)))
  (princ)
)

; By Gile
(defun remove_doubles (lst)
  (if lst
    (cons (car lst) (remove_doubles (vl-remove (car lst) lst)))
  )
)

; By Gile
(defun my-count (a L)
    (cond
    ((null L) 0)
    ((equal a (car L)) (+ 1 (my-count a (cdr L))))
  (t (my-count a (cdr L))))
)


; Starts here 
;
(defun c:AHsupports ( / cnt lst lst2 lst3 obj2 rownum ss trow txtsz val x))
  (setq txtsz (getreal "Enter text size ")) ; try say 25
  (setq ss (ssget (list (cons 0 "MTEXT")(cons 8 "SUPPORT-TEXT-BANDED"))))
  (if (= ss nil)(progn (Alert "no items were selected will now exit ")(exit)))
  (setq lst '())
  (repeat (setq k (sslength ss))
	(setq textstr (getpropertyvalue (ssname ss (setq k (1- k))) "Text"))
    (princ "\n")
   (setq lst (cons (list (distof textstr) textstr) lst))
    (princ lst)
  )
  (setq lst (vl-sort lst '(lambda (i j) (&amp;lt; (car i)(car j)))))
  (setq lst3 '())
  (setq lst2 (remove_doubles lst))
  (princ lst2)
  (foreach val lst2
    (setq cnt (my-count val lst))
    (setq lst3 (cons (list val cnt) lst3))
  )
  (princ lst3)
  (AH:table_make 2 txtsz)
  (repeat (setq x (length lst3))
    (setq rownum (vla-get-rows obj2))
    (vla-InsertRows obj2 rownum (vla-GetRowHeight obj2 (- rownum 1)) 1)
    (setq trow (nth (setq x (1- x)) lst3))
    (vla-SetText Obj2 rownum 0 (cadr (car trow)))
    (vla-SetText Obj2 rownum 1 (rtos (cadr trow) 2 0))
  )
  (vla-SetTextHeight obj2 (+ acDataRow acHeaderRow acTitleRow) txtsz)
  (vla-SetAlignment obj2 acDataRow acMiddleCenter)
  (alert "To run again type AHsupports")
)
(c:AHsupports)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1787700158144.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1658190iB124D9F5B06DC9EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1787700158144.png" alt="SeaHaven_0-1787700158144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 02:05:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14245060#M172467</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2026-08-27T02:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14248103#M172505</link>
      <description>&lt;P&gt;Welcome to the community, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/18587622"&gt;@israelU7LZU&lt;/a&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are well. It looks like you have received a lot of information from paullimapa, Sea-Haven and Kent1Cooper. Did any of the information provided help clarify your question? If any of the posts provided the help, please consider clicking on the 'Accept Solution' button on the post(s) that helped. If you still need assistance, please update here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 14:20:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14248103#M172505</guid>
      <dc:creator>lauri_barnhart</dc:creator>
      <dc:date>2026-08-28T14:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help counting support quantities, can you please help?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14248346#M172506</link>
      <description>&lt;P&gt;Hi Sea-Haven,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this the working lisp program? should I try it? I'm not sure how to create a lisp file, but Im guessing I can open an existing one, save it as, then erase everything in said file and copy/paste everything you show here? then load it up? what would the Key command be to start the program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help on this matter.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 17:54:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-counting-support-quantities-can-you-please-help/m-p/14248346#M172506</guid>
      <dc:creator>israelU7LZU</dc:creator>
      <dc:date>2026-08-28T17:54:03Z</dc:date>
    </item>
  </channel>
</rss>

