Help with BCOUNT, ATTRIBUTE, DYNAMIC BLOCKS

Help with BCOUNT, ATTRIBUTE, DYNAMIC BLOCKS

Anonymous
Not applicable
1,729 Views
6 Replies
Message 1 of 7

Help with BCOUNT, ATTRIBUTE, DYNAMIC BLOCKS

Anonymous
Not applicable

So for my job we have a massive selection of shelving bays from different sizes that need to show their size in the middle of the block with text ex: "24x96" so I created a dynamic block that can be any size wide and length. Than you double click on the text and type in whatver you made the block to. The problem is that when I do a BCOUNT it doesn't tell me how many shelving units of each width and length I have like it would if it each size shelf was it's own block. Is there a way with attributes that work with dynamic blocks and bcount where this can be done or some other way?

 

Example: 42 (24x96) Blocks
               23 (44X96) Blocks

                 4 (32x54) Blocks

0 Likes
Accepted solutions (1)
1,730 Views
6 Replies
Replies (6)
Message 2 of 7

dbroad
Mentor
Mentor
Accepted solution

BCOUNT is an Express Tool, written long before dynamic blocks became available.  Have you tried data extraction?

Architect, Registered NC, VA, SC, & GA.
Message 3 of 7

dmfrazier
Advisor
Advisor

Here is an example of a custom program that will do (sort of) what you want:

http://www.lee-mac.com/dynamicblockcounter.html

To use this particular program, you would have to modify your DB so that the different sizes were represented by visibility states (which may or may not be feasible).

I found this among several other hits by Googling "autocad count dynamic blocks". You might find something better if you give that a try.

0 Likes
Message 4 of 7

Anonymous
Not applicable

No I have not I will give it a try. How would I get the data into the dynamic block

0 Likes
Message 5 of 7

Anonymous
Not applicable

That worked. It does take a lot more clicks to get the info but it does show me how many blocks and what ones have the same attribute in them

0 Likes
Message 6 of 7

sthompson1021
Advisor
Advisor

Data extraction is a good tool to use but if you want just a quick count of how many 24x36 shelves you have, you can use the FIND command. Just type in 24x36 and then replace with 24x36. Make sure you have the list results box checked.find.PNG

Message 7 of 7

Anonymous
Not applicable

Thanks that worked too

0 Likes