<?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 with a block-count lisp in AutoCAD Map 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917770#M7905</link>
    <description>&lt;P&gt;Ah I see, thanks for the help. To be honest, this is a bit of a lengthier process than what I was hoping for.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2019 18:10:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-18T18:10:47Z</dc:date>
    <item>
      <title>Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917565#M7901</link>
      <description>&lt;P&gt;I'm trying to create or modify a lisp that will count a specific block among other objects/blocks by way of a selection window. Also, the results of the count will auto-fill a table or a block attribute. To be a bit more specific the count will auto-fill 1 of 4 cells (A, B, C, D)Is this possible?&amp;nbsp;&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;P&gt;I've come across lisps that do similar things and the best one I've found so far is&amp;nbsp;&lt;A href="http://www.lee-mac.com/countattributevalues.html" target="_blank" rel="noopener"&gt;Count Attribute Values&lt;/A&gt;&amp;nbsp;by Lee-Mac. I'm hoping to find a way to create a similar lisp that can single-out a specified block and auto-fill a pre-made table or block attribute rather than create a new table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know QSELECT can isolate a block by name and count by selection window but haven't had luck with an auto-fill.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm open to any suggestions, variations or alternatives.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 16:42:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917565#M7901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917630#M7902</link>
      <description>&lt;P&gt;You can do this using DATAEXTRACTION command. It will count blocks and much more. You may extract the data, such as number of blocks, and put it in an external file outside of your dwg or an internal table which is inserted into your drawing.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 17:09:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917630#M7902</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2019-07-18T17:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917650#M7903</link>
      <description>&lt;P&gt;Thank you for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing with DATAEXTRACTION (or at least to my knowledge of it) is that it counts all instances of the particular block. I only need a count within a selection window.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 17:15:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917650#M7903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917697#M7904</link>
      <description>&lt;P&gt;Someone gave you bad info (or you misunderstood what you have read) because dataextraction can indeed use a window.&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="Check: Select objects in the current drawing then click the window button." style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/658872i69072F0E5752A760/image-size/large?v=v2&amp;amp;px=999" role="button" title="sketch1563470437751.png" alt="Check: Select objects in the current drawing then click the window button." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Check: Select objects in the current drawing then click the window button.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 17:35:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917697#M7904</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2019-07-18T17:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917770#M7905</link>
      <description>&lt;P&gt;Ah I see, thanks for the help. To be honest, this is a bit of a lengthier process than what I was hoping for.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 18:10:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917770#M7905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T18:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917814#M7906</link>
      <description>&lt;P&gt;Congratulations. You now know the limitations of your plain ol' AutoCAD blocks. You're limited in how you use them as well as what they can do for&amp;nbsp;&lt;EM&gt;you.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are up to it, you can invest more time and make them&amp;nbsp;&lt;EM&gt;smart blocks,&amp;nbsp;&lt;/EM&gt;meaning they hold more info, way more, such as Object Data, so that later on your investment can save you time by enabling you to perform fast operations such as count all blocks with an attribute beginning with 'QR' or count only blocks with attribute containing 'SB' that reside on layer &lt;EM&gt;landscape.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;can consider those plain vanilla blocks as &lt;EM&gt;blocks on steroids,&lt;/EM&gt;&amp;nbsp;because you are moving from the JV to the Varsity.&amp;nbsp;If you want to leap frog over Division-I and go directly to Pro, you can export your blocks with OD to shapefile or sdf. When you combine Feature Data Objects (shp, sdf) with Acad entities, you Level Up.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 18:46:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917814#M7906</guid>
      <dc:creator>ChicagoLooper</dc:creator>
      <dc:date>2019-07-18T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with a block-count lisp</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917898#M7907</link>
      <description>&lt;P&gt;I definitely have much more to learn. Maybe you can help guide me in the right direction a bit more? The blocks we have do contain data such as customer addresses, group identifiers, etc. The purpose of creating this lisp is to count the amount of customers that belong to different groups (such as group A, B, C, and D).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to import data through an ODBC path. This allowed me to accurately plot the customers' as points with important data assigned to each point. I then did an SDF export. The SDF export allowed me to add a color style depending on which group the customer belongs to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a lot more to learn. I feel like what I have done mentioned above may or may not be useful but I am not sure. Any more advanced suggestions or guidance will be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 19:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/need-help-with-a-block-count-lisp/m-p/8917898#M7907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T19:17:46Z</dc:date>
    </item>
  </channel>
</rss>

