Count Attribute Values
|Function Syntax||CountAttributeValues / CAV|
|View HTML Version||CountAttributeValues.html|
This program will count the number of occurrences of each distinct attribute value in a selection of attributed blocks, ideal perhaps for when compiling a Material Take Off (MTO) in which materials and their quantities may be stored in various block attributes.
The result of the summation is displayed in an AutoCAD Table Object, with the attribute values sorted alphabetically.
Note that this program may only be run on AutoCAD versions which support a Table Object.
Instructions for Running
Please refer to How to Run an AutoLISP Program.