[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.
Copy Attributes from One Block to Another
Tip# 3005 By John Walker On 01-Aug-2008
Rated By 2 users Downloaded : 4503
Categories : Edit Blocks, Attributed Blocks
Software type : AutoCAD 2008
Rename File To : BlockAttrib.bas
VBA functions move attribute values from block to block.

These well-crafted VBA functions let you move attribute values from one block to another. Attribute tags of two blocks are compared to determine where to place the attribute values, which means the blocks don’t have be an exact match. To use this utility, you will need to load the BAS source code into a VBA project. (From AutoCAD type VBAide. Inside the Visual BASIC editor, select File, then Import. Navigate to blockattrib.bas and open it. Press F5 to run the macro.) A tip of the fedora to John for a great example showing the raw power of object manipulations.


Average Rating:

User comments
Comment by webmaster@cadalyst.com
Posted on 2008-07-18 02:24:03
Hot Tip Harry's Tip Tip for August 2008.