PDA

View Full Version : Determine the quantity of blocks in your AutoCAD drawing



valtrackworks
24th Feb 2007, 08:31 am
You may find yourself in a position, such as a cost proposal, where you need to determine the quantity of a certain block within your engineering drawing. AutoCAD provides you with an excellent tool for counting the blocks in a drawing: the Count command.

Simply type the Count command at the command line, then select the objects you wish to count, or the entire drawing. The command opens the AutoCAD Text window and gives you a list of all the blocks in your drawing and their overall quantity.

Cad64
3rd Mar 2007, 11:51 pm
:huh: I believe you are referring to the BCOUNT command. There is no Count command. Also, Bcount is an Express Tool, so if you're running LT or don't have Express Tools installed, you won't have access to the command.

cresta
12th Jul 2007, 12:27 am
Thanks Cad64, I was just looking for your answer. I knew in the past some lisp program that counted the blocks, I wasn't aware counting blocks now, was part of the autocad commands. BCOUNT is the name of the ticket!
Thank you again

vinod
19th Aug 2007, 07:26 am
I am using the command "EATTEXT" for counting blocks in drawings.
Found it is very useful..
You can export the output as *.csv

Strix
19th Aug 2007, 06:13 pm
I think we may have noted this already, but just in case....

bookmarked for FAQ

cresta
19th Aug 2007, 08:16 pm
That is a very useful tool, Vinod. Thank you. That command does not work on version 2000, That I like to work with (I got used to their icons, and Autocad in every new version changes the icons and that is just a drag for many of us.) But it does work on version 2006, No problem for me then. I will use version 06 to Eat the blocks and save it as a 2000 version. Piece of Cake. Thanks again.

BoHiCAAA
19th Oct 2007, 10:20 am
There is also a VBA based solution in Excel that does this. Might be handy to have the list and count directly in a WorkSheet.

The code is somewhere on this forum. I'll try and find it (if not found I'll post it).

BTStark
24th Dec 2007, 11:56 pm
How do you run Bcount in AutoCAD LT 2007 when the comand doesn't work.

Thanks,
Brian

cresta
25th Dec 2007, 01:02 am
I don't use Autocad LT, therefore I don't know if the screen is similar to Autocad, but here is my question anyway:
You said that "the comand doesn't work"... What it is actually that the program says at the command line (after you type "Bcount" and click Enter)?
Does it said "Unknown command "Bcount"?
or what else happens?:huh:

cresta
25th Dec 2007, 01:10 am
I just read above and Cad64 Super member had this comment: "Bcount is an Express Tool, so if you're running LT or don't have Express Tools installed, you won't have access to the command." then you should verify that you have Express Tools installed in your program.

Cad64
25th Dec 2007, 01:34 am
BTStark is running LT.
Express Tools are not available for LT.

dacoba
26th Mar 2008, 08:34 am
Here is a way I used to count blocks in acad LT

First you must create a template in a txt file.

You write the following:

BL:NAME C008000
BL:NUMBER N008000

After that you save the file and go to acad. In the command line you write attext, you choose a file format( cdf for example), you select the objects( you can select the whole drawing), choose the template file and the output file.

The result will look like this
'Termosta', 1
'Termosta', 2
'Termosta', 3
'Termosta', 4
'Termosta', 5
'Termosta', 6

You can add some attributes if you want too.

Hope this is helpfull.

bstegemann7788
17th Jul 2008, 01:27 am
if you dont have express or bcount command or eattext command or if your using older versions of autocad , you can also use the erase command and simply window all the objects....it will give you how many objects that have been chosen.

but dont hit the <return> on the keybored