Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

Alternative to BCOUNT in AutoCAD LT?

Alternative to BCOUNT in AutoCAD LT?

LandArchLand
Contributor Contributor
3,329 Views
9 Replies
Message 1 of 10

Alternative to BCOUNT in AutoCAD LT?

LandArchLand
Contributor
Contributor

I would like a way to perform the equivalent of the BCOUNT command in LT. Is there a work-around? Is it possible to write a table formula to count the blocks and display the totals in a cell? If so, where would I find that formula? It's ok if the block totals aren't in a table, I just need their totals (otherwise I'll be counting blocks on site plans by hand!). Thanks

0 Likes
Accepted solutions (2)
3,330 Views
9 Replies
Replies (9)
Message 2 of 10

rkmcswain
Mentor
Mentor

If the DataExtraction command were available in LT, that would do it, but unfortunately it's not. Perhaps some of the workarounds mentioned here might help?

0 Likes
Message 3 of 10

steven-g
Mentor
Mentor

What exactly do you need to count, if it is just numbers of blocks with different names then the quickest method is select all the blocks and use the list command, then copy the results into excel, select only the block names and sort them alphabetically, (then count).

But it would depend on what you need to count and how often you need to do it.

Message 4 of 10

pendean
Community Legend
Community Legend
0 Likes
Message 5 of 10

LandArchLand
Contributor
Contributor
Hello. I’m counting blocks of plants on a landscape site plan. Thanks for your help.
0 Likes
Message 6 of 10

laurie.nichol
Explorer
Explorer

Did anyone ever find a reasonable workaround for this?  This is the only thing about LT that I actually hate -- otherwise, LT is just fine for landscape architecture.  I miss regular autocad just for the bcounts.  

Unless I'm missing something when I try the "list" command mentioned above.  On my screen, it doesn't show anything about quantities per block. 

0 Likes
Message 7 of 10

cadffm
Consultant
Consultant
Accepted solution

update to 2022 and use the new COUNT feature?

Sebastian

Message 8 of 10

Erense
Collaborator
Collaborator

Like @cadffm mentioned; upgrade to LT 2022 and use the Count function.

 

If you don't update and know the names of the blocks you want to count you can also use 'Qselect' like @pendean suggested

Apply to: Entire drawing

Object type: Block reference

Properties: Name

Operator: Equals

Value: <blockname>

How to apply: Include in new selection set

Do not append to current selection.

Click [ OK  ]

In the properties palette the number of (selected items) is shown (when it is only one, no number will be shown)

 

Repeat for all blocks you want to count.

 

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Kind regards,

Edwin Rense
Cadac Group AEC BV
Supporting Consultant AEC
Cadac Group .
0 Likes
Message 9 of 10

steven-g
Mentor
Mentor
Accepted solution

The list command itself won't show any totals.

You need to use the list command after selecting all blocks and then copy the command history into an excel sheet and use excels tools to sort and count using block names. There is nothing automatic about the process, you have to do it manually. But it is the quickest method for LT users.

0 Likes
Message 10 of 10

cadffm
Consultant
Consultant

add. to steven-g

The "total count" process can be done in Excel or a good text editor,

by using a macro (which one you have to write yourself or you find one in www).

It would be working up to "just one click in LT", but you need many magic to do this,

nothing simple.

 

Another thing:

If i would be a LT-User, i would never be a LT-only user, but IF:

I would add one attribut(definiton) to ALL my blocks (except of blocks like dim-arrows or similar).

Why?

1. It can be helpful for many reason and

2. I can use ATTEXT then, which create a much better list of my blocks as LIST will do that.

   You can write a script to export the blockdata with one click (everytime to the same file)

    and you can setup a "Count my stuff" Excel file which reads yout exported data.

   Result: One click in LT, and you can see all the total counts in your Excel file.

 

Sebastian