Text Counter

Function Syntax TCount
Current Version 1.1
Download TCountV1-1.lsp
View HTML Version TCountV1-1.html

Program Description

This program prompts for a selection of Text, MText, MLeaders, Attributed Blocks, or Dimensions with a dimension text override, and proceeds to count the number of occurrences of distinct strings contained within these objects.

The resulting data is then displayed in an AutoCAD Table Object, with strings sorted alphabetically. Table properties (such as line colour, text style etc.) are entirely dependent upon the settings implemented by the active Table Style. The width of the table columns and height of the table rows are both determined by the text height for a data row in the current Table Style.

Example of Output

TCount.png

Restrictions

Instructions for Running

Please refer to How to Run an AutoLISP Program.

textsize

increase · reset · decrease

Designed & Created by Lee Mac © 2010