[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Increment Attributes
Tip# 2069 By Michael Murphy On 01-Nov-2005
4
Rated By 1 users Downloaded : 567
Categories : Attributed Blocks
Software type : AutoCAD
Rename File To : Tip2069: HTH2069.lsp
VBA program searches for attribute values containing a matching prefix and, when located, increments the trailing numeric values.

Increment Attributes (Tip #2069), from Michael Murphy, appears similar to the previous tip at first, but it is different. First, the program is written in VBA (supplied as a TXT file, which you must import into an empty project and press the Run button). Second, the program searches for attribute values containing a matching prefix and, when located, increments the trailing numeric values. Just supply the prefix string for the pattern match and the value to increment. The rest is automatic. Nice job, Michael -- very useful when working with lots of attribute labels.

 

 

Average Rating:
4


User comments