Count & Highlight, is a powerful and very easy to use add-on for AutoCAD 2004 – 2019. Now you have the solution to count and locate entities in AutoCAD.
Jul 25, 2019 Hello, I have found a many great lisp that has been created from people of the AutoCAD forum. I was hoping someone can guide me to changing maybe one of the lisp to my particular task. I am not familiar with creating or changing lisp so I hope someone can. About Object Snaps (AutoLISP) The osnap function can find a point by using one of the AutoCAD Object Snap modes. You pass the function a three element list that represents a 3D point; if you want to specify a 2D point, set the Z axis to a value of 0 (zero).
[foldergallery folder=”wp-content/uploads/products/count-highlight-autocad” title=”Click To View Count & Highlight any AutoCAD entity”]
Multi-click image above to view software
Search for the attributes , coordinate values, elevation symbols, lost point entities … and more!! Very useful for checking drawings done by others. Highlighting works also in maximized viewports.
We hear these complaints all the time:
“…I’m tired of searching objects on my drawings…”
“I need to count entities real fast…”
“…watching the whole drawing, need the location of one specific entity
at a glance…”
That’s why we created Count & Highlight!
This application, lets you search throughout your drawing, entities of any type and have them highlighted by means of the grip feature. You also will get a count of the selected entity sorted by layout tab. Then it’s your choice to move, copy or delete the highlighted entities by editing the selection.
At the command line just type CnH and then, the capital letter of any of the following entities:
Line, Polyline, 3dpolyline, Mline, Arc, Circle, Dimension, Ellipse, POInt, Text, MText, Hatch, Region, Solid, Spline, Trace, Image, Block, BWAtt (Block with attributes), BNAtt (Block with no attributes), or ATTribute-value.
You’ll watch all required entities being highlighted (turned-on grips), and get the count of them at the command line in no time.
Count & Highlight Features:
Count & Highlight Blocks:
The options for blocks to be found and highlighted, are as follows:
BWAtt Either searches for all blocks with attributes or by specific block name.
BNAtt Either searches for all blocks with NO attributes or by specific block name.
ATTribute-value. Searches for all blocks that contain the specified attribute value. Alerts the user for invisible attributes.
Block Searches for all type of blocks or by specific block name.
Count & Highlight Text and MText:
Both options search for all entities of each type. If the entity is a Text, it can be found by specific text input. Upper, lowercase and combination of both occurrences are all highlighted and counted for Text entities.
Count:
On the command line, after highlighting, you´ll get the quantity of all occurrences of the selected objects sorted by “Model and “Layout” tabs.
Warning: The search goes thru the whole drawing data base. Highlighted entities and quantities may not match if some layers are Frozen. For best results hit “Esc” after each search.
Color and size:
In order to change the color of highlighting, type GRIPCOLOR and enter the desired color number.
To return to the default grip color do the same according to your version of AutoCAD: Ver. 2004-2008 Color=160. Ver. 2009-2019 Color=150.
For size change type GRIPSIZE. Default=5.
BLKCOUNT function:
Type “BLKCOUNT” and you´ll get a handy list of all blocks sorted by layout tab plus the quantity of each block name.
ACOUNT function:
This function lets you get a list of all attribute values and their quantities sorted by layout tab.
1ACOUNT function:
Same as Acount, but only gets the list of the 1º attribute of the block. Useful to get a quick count of doors, windows or any other object symbol. As always you´ll get the location in the drawing thru an automatic grip highlighting.
ALL function:
Type “ALL” and you´ll get a count of all objects sorted by layout tab and the total quantity. You´ll see all the highlighted entities on the current layout tab.
You´ll find “lost” or “far away” entities on huge drawings.
For clarity, the viewport as an entity is not considered, and it’s excluded from the count.
CTEXT function:
Useful to get a quick list and count of all unique text occurrences, sorted by layout tab.
For long text lists press “F2” to access the AutoCAD text window.
Express tools have been AutoCAD users’ favorite for years. Unfortunately, these tools are not available in AutoCAD LT. I often hear AutoCAD LT users asking if there are alternatives in AutoCAD LT. One of the tools they often look for is BCOUNT. If you are not familiar with BCOUNT, it is a tool that we can use to count blocks in our drawing. It is useful if you want to count how many objects you have in your drawing. So what is the alternative in AutoCAD LT?
The good thing about AutoCAD is it will show you how many objects are selected from the command line.
Now you only need to select blocks that you want to count! How can we do it?
Using QSELECT
Quick Select is a tool that you can use to select objects with specific properties. In this case, it can help you to select blocks with a specific name.
In this example, I use QSELECT to select all block named C1.
After I run the command, AutoCAD will select all C1 blocks. You can see how many of them on the command line.
You can read more about AutoCAD Quick Select here.
Using FILTER
Using filter uses the same idea. We use it to select all blocks with the same name.
The good thing about the filter is it’s very easy to use if you have multiple conditions. You can filter blocks by name, layer, color and other properties at once. And you can save your filter so you can use it again later.
Similar with QSELECT, after you run the filter, check the number of blocks selected on the command line.
To sum up
AutoCAD LT doesn’t have BCOUNT. But you still can count the number of specific blocks in your drawing quickly. The idea is to select all blocks with the same name. You can use QSELECT or FILTER to do that.
The limitation of this method is you can’t count all blocks with different name at once. BCOUNT can do that. But this is still much better than count them manually.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |