10/20/2011

ZWCAD Hot Tip-The Many Ways to Count Blocks in Drawings

Sometimes we need to count the number of blocks that exist in our drawings. It turns out that there are several approaches to doing this in ZWCAD. Let me share them with you.

Approach 1:  BCOUNT

Here is how to use the BCOUNT command to count all or just a selected group of blocks in drawings:

1. Enter the BCOUNT command.

2. Select the objects you want to count, and then press Enter.

3. Notice that the name of each block and the number of itsoccurrences appear on the command line. To see all of the details, press F2 to get to the Text window, a big version of the command prompt area. It looks something like this:

As a bonus, this method also reports the number of each kind of block in the selection set.

Approach 2: BLOCKSUM

The BLOCKSUM command does not count the total number of blocks; rather, it is used to count how many blocks are on a specific layer, and how many have the same name.

The BLOCKSUM command can be accessed from ZWCAD Express menu: Express > Tools > Number of Blocks.

Follow these steps to use the BLOCKSUM command:

1. Enter the BLOCKSUM command, or select it from the Express menu.

2. Notice that it prompts you, ‘Layer/selection Set/<All>’. There are two choices, Layer, or select a specific number of objects:

         - Layer option counts the number of blocks on the same layer as the selected block.

- selection Set option counts the number of blocks that have the same name as the selected block.

http://www.cadfamily.com/html/CAD/ZWCAD%20Hot%20Tip-The%20Many%20Ways%20to%20Count%20Blocks%20in%20Drawings_871_1.htm

No comments: