Count Attribute Values
Function Syntax | CountAttributeValues / CAV |
Current Version | 1.0 |
Download | CountAttributeValues.lsp |
View HTML Version | CountAttributeValues.html |
Donate |
Program Description
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.
Demonstration
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.