<?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: Counting Blocks within an given Object in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397729#M41413</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;Problem: I need to find a way to count the number of different Blocks within a given &lt;STRONG&gt;Object&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What type of entity is your Object. Is it also a block?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If possible sample dwg would be helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 13:38:16 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2022-09-02T13:38:16Z</dc:date>
    <item>
      <title>Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397561#M41412</link>
      <description>&lt;P&gt;Hello dear People of the Autodesk-Forum!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of some Info about me and the system I use:&lt;/P&gt;&lt;P&gt;-I am and technical-product-design-Aprentice in my second (out of 3.5years) year of Vocationaltraining.&lt;/P&gt;&lt;P&gt;-In our Buisness we use AutoCAD 2021&lt;/P&gt;&lt;P&gt;-We are using Windows 10&lt;BR /&gt;-I work on an professional CAD-Workstation PC, newly build in 2020&lt;/P&gt;&lt;P&gt;-My first language is German so i hope everything is translated correctly (should there be any confusion,&amp;nbsp; &amp;nbsp;&amp;nbsp; translation wise,&amp;nbsp; please let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; not only to state my problem correctly but also to further better my english speaking Capabilities)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may need your help here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem: I need to find a way to count the number of different Blocks within a given Object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background:&lt;/P&gt;&lt;P&gt;Our Buisness produces Paneling/covers to put inside light-Commercial-Vehicle´s Stowages.&lt;/P&gt;&lt;P&gt;To make creating partslists of single-part-Drawings (and Assembly-Drawings) less prone to Errors and also way easier, we want to establish the useage of Blockdefinitions and -refferences. I already converted the (for example) boreholes and other Objects&amp;nbsp; into simple Blocks. Since the amount of Screws (# of screws = # of boreholes) will be refferenced, not only in the Assembly drawing but the single-part-Drawing also, I need to find a way to define a space/Object (outer Contour of the Paneling) and be able to count &lt;U&gt;how many of wich Block are placed in that given Object&lt;/U&gt;. Maybe there is something similar to the Textfield command that lets you select an Object and shows you (for example) the Area or length/circumference of the Object you have selected and also &lt;U&gt;Updates the Data when changes are made&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;Up until now i did not find a way to specify an Object/Space in wich the blocks are supposed to be counted.&lt;/P&gt;&lt;P&gt;but I am sure it is way easier than I think or i am just too bad at looking for the right command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am excited to find out if you guys are able to help me out here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 12:31:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397561#M41412</guid>
      <dc:creator>ian.schultz</dc:creator>
      <dc:date>2022-09-02T12:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397729#M41413</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Problem: I need to find a way to count the number of different Blocks within a given &lt;STRONG&gt;Object&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What type of entity is your Object. Is it also a block?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If possible sample dwg would be helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:38:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397729#M41413</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2022-09-02T13:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397798#M41414</link>
      <description>&lt;P&gt;&lt;A href="https://www.theswamp.org/index.php?topic=57773.msg611181#msg611181" target="_blank" rel="noopener"&gt;https://www.theswamp.org/index.php?topic=57773.msg611181#msg611181&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397798#M41414</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2022-09-02T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397841#M41415</link>
      <description>&lt;P&gt;If the "given Object" is a Polyline, there are examples in this Forum of routines to find everything inside one, but with the possible complication of not necessarily getting it right if the Polyline contains &lt;EM&gt;arc&lt;/EM&gt; segments [some of them have attempts at compensating for that].&amp;nbsp; However, I don't know of a way to get the result of such a routine to update when changes are made, other than to run it again.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:35:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397841#M41415</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-09-02T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397906#M41416</link>
      <description>&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10213509"&gt;@ian.schultz&lt;/a&gt; COUNT command, built into AutoCAD 2022/2023 an option? Explained in HELP &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-66C15D91-3574-4915-AF46-A5AEE5E12DDC-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-66C15D91-3574-4915-AF46-A5AEE5E12DDC-htm.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:04:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11397906#M41416</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2022-09-02T15:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11399737#M41417</link>
      <description>&lt;P&gt;It sounds like a custom request, one of my recent ones for a client counts and makes a table for various types of objects, blocks of same name are counted, plines are counted based on area, multi lines are counted based on length.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is the usual problem with quantity output, starts with one request and the final solution is 5 versions later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Counting objects within a shape is not a problem from a code point of view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are many here that could do the custom code for you keeping your dwg's confidential but that has a price. Sometimes Beer money.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really need a dwg with a sample output to see what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like pendean have a look at "dataextraction" as a 1st step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 03:38:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11399737#M41417</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-09-04T03:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11402359#M41418</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't see anything in your link about counting objects within a boundary.&amp;nbsp; Is that included but not mentioned?&lt;/P&gt;
&lt;P&gt;Our latest version at work is C3D 2020.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 21:50:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11402359#M41418</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2022-09-05T21:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Blocks within an given Object</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11402812#M41419</link>
      <description>&lt;P&gt;Thats it!&lt;BR /&gt;&lt;BR /&gt;I had to use a data-extraction-table, using 3rd-party API´s isnt an option sadly.&amp;nbsp; it took me a while to grasp the concept. The Table allows us to also connect with other databases. This sollution may not be pretty looking but it works well.&lt;BR /&gt;&lt;BR /&gt;thanks to everyone for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 06:13:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/counting-blocks-within-an-given-object/m-p/11402812#M41419</guid>
      <dc:creator>ian.schultz</dc:creator>
      <dc:date>2022-09-06T06:13:16Z</dc:date>
    </item>
  </channel>
</rss>

